[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[msmtp-users] multiple smtp accouts + mutt macro



Hi,

I pop my emails using getmail. And configured msmtp to send emails. I
have used my 2 smtp accounts...

more ~/.msmtp , looks like,

account smtp1
auth on
tls on
tls_starttls on
host mail.smtp1.com
from myname@...53...
user myname@...53...
password ****

account smtp2
auth on
tls on
tls_starttls on
host mail.smtp2.com
from myname1@...123...
user myname1@...123...
password ****


and in my

set envelope_from=yes
set sendmail="/usr/bin/msmtp"
set sendmail_wait=-1
.
macro generic "<esc>1" ":set from=myname@...53..."
macro generic "<esc>2" ":set from=myname1@...123..."

.
.

When I'm in mutt compose/reply page, i save a email pressing :wq!, and
when I do esc 1, I get :set from=myname@...53..., displayed but
*not* populated!

Where I'm going wrong? Please suggest!

-- 
Dilip