On Wed, Feb 27, 2008 at 08:55:08PM +0100, Nicolas KOWALSKI wrote: > Salvatore Iovene <[EMAIL PROTECTED]> writes: > > > I use mutt+msmtp and want to use a different msmtp account according > > to what my "From:" is. > > > > How can I do this? > > In my ~/.muttrc, I have: > > # > # Mail sending > # > set sendmail="/usr/bin/msmtp" > set use_envelope_from=yes > set use_from=yes > > > In my ~/.msmtprc, I have: > > # > # main account > # > account mainaccount > host smtp.isp.tld > from [EMAIL PROTECTED] > > # > # another > # > account anotheraccount > host smtp.isp2.tld2 > from [EMAIL PROTECTED] > > # > # specify default > # > account default : mainaccount
So you mean that mutts automatically selects the msmtp account by looking at the From: header? -- |_|0|_| - Salvatore Iovene |_|_|0| - http://www.iovene.com/ |0|0|0| - http://www.iovene.com/pubkey.asc
signature.asc
Description: Digital signature
