Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mail woes: multiple SMTP accounts and mutt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Locke
n00b
n00b


Joined: 02 Aug 2002
Posts: 50
Location: Baton Rouge, LA, US

PostPosted: Sat Jul 26, 2003 6:15 am    Post subject: Mail woes: multiple SMTP accounts and mutt Reply with quote

Hey everyone, I just returned to Gentoo from BSD-land, and getting mutt to play nicely with my mail setup is proving to be quite a task. I know a fair amount about networking, but the harder I try at this the more mixed up I get. My basic problem is this:

I have two POP accounts and two corresponding SMTP accounts -- one at my university and one with my web/FTP host. Both require that I authenticate before sending mail with either PLAIN or LOGIN. I can grab the mail and sort it just fine with fetchmail and procmail, but I can't seem to get the smtp working properly. Basically, here's (part of) what's in my .muttrc:

Code:

set nouse_from
folder-hook lsu "my_hdr From: Chris Morris <cmorri9@lsu.edu>"
folder-hook . "my_hdr From: Chris Morris <chris@supermorris.net>"


Everything sent from within my "lsu" folder needs to be sent from my Uni account, and everything else with the hosting account. Stuff sent from @lsu.edu needs to go to notes.lsu.edu with username A and password B, and stuff from @supermorris.net needs to go to mail.supermorris.net with name C and password D. I can't find anything with Google that addresses this specific situation, except for a few awful hacks that I couldn't get to work or something using IMAP (which is out of the question). I'm open to using pretty much any MTA (I've tried SSMTP, exim, and sendmail), but I'd rather not have a daemon running if I can help it. How should I be tackling this?

Compounding this problem, I use DHCP-based connections and have no "real" hostname. My machine thinks it's arkady.bellsouth.net or arkady.lsu.edu (depending on if I'm in my dorm or at home), when it's actually dhcp-nnn-nn-nnn.lsu.edu or adsl-nnn-nnn-nnn.msy.bellsouth.net. Most MTAs seem to assume that my machine has one domain name that never changes. How can I get around this?

Thunderbird, Sylpheed, and other mail programs handle this with multiple identities, but I want a console-based solution that I can reasonably expect to be on most 'nix machines. Am I missing something, or are the console mail solutions severely lacking in this department?

Slightly related: After sorting mail with procmail, mutt can't tell which messages I've read and which I haven't (using MH since I have mail stored by Sylpheed that I want to read). Is there anything I can do to 'mark' messages like in other clients?

Thanks in advance for any help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum