*[dan radom on Tue, Jul 31, 2001 at 10:59:17AM -0600]:
> Is there any reason why I couldn't use ssh port forwarding to forward
> locahost 25 to a remote smtp server?  I'm constantly connectiong to different
> networks, and reconfiguring sendmail everytime to masq as another domain isn't
> a very good option.  

You need not masq sendmail at all... set the envelope in your muttrc (set
alternates or my_hdr from based on folder hooks, and set envelope_from)

Your sendmail can masq as localhost.localdomain for all mutt cares - it simply
does a sendmail -f to set the envelope sender.

> On another nonmutt related issue how would fetchmail react to that port 25
> forwarding?  I suppose I could have fetchmail deliver mail directly to my MDA.
> Has anyone set something like this up?

Reply via email to