Re: [SPAM?] Re: [SPAM?] How to allow mutt to send from different accounts on the command line?

2016-08-12 Thread lists
On Fri, Aug 12, 2016 at 08:22:17AM +0100, spaceman wrote: > Having just been looking at a similar problem it might better to use > > set sendmail = "/usr/bin/msmtp --read-envelope-from" > > Which removes the need to specify an account completely with msmtp so long as > it can find a matching

[SPAM?] Re: [SPAM?] How to allow mutt to send from different accounts on the command line?

2016-08-12 Thread spaceman
Hi, A more mutt-like solution could be to use send-hooks to set the $sendmail variable every time the From: header of an email changes. msmtp accepts the account to be used on the command line as -a $account, send-hook "~f o...@example.com" 'set sendmail = "/usr/bin/msmtp -a a"' send-hook

Re: [SPAM?] How to allow mutt to send from different accounts on the command line?

2016-08-12 Thread lists
On Thu, Aug 11, 2016 at 05:48:01PM -0500, Peng Yu wrote: > Hi, I have msmtp set up on my computer. But I don't find how to > specify different accounts to send email from mutt command line. Does > anybody know how to do it? Thanks. I am also using msmtp, but in a way so that different email

Re: [SPAM?] How to allow mutt to send from different accounts on the command line?

2016-08-11 Thread Patrick Shanahan
* Peng Yu [08-11-16 18:54]: > Hi, I have msmtp set up on my computer. But I don't find how to > specify different accounts to send email from mutt command line. Does > anybody know how to do it? Thanks. copy your ~/.muttrc to another filename and then edit and change the

[SPAM?] How to allow mutt to send from different accounts on the command line?

2016-08-11 Thread Peng Yu
Hi, I have msmtp set up on my computer. But I don't find how to specify different accounts to send email from mutt command line. Does anybody know how to do it? Thanks. -- Regards, Peng