Hi Suvayu, small question: why don't you use "set from=wor...@domain.com" etc?
I have the setup as following: each mail is filed to a matching folder, my personal mail go to ~/Maildir, my work email are accessed via imap://work-server/…, some of the other accounts follow the same pattern. Depending on the folder I'm in the correct from address is set with "set from=…" As each IMAP account use different SMTP-Servers these are set via some send-hooks that depend on the from: address. This also matches my workflow that new mails are edited/sent using a second mutt-instance in a new screen-window. Maybe this gives you an idea how to accomplish your setup. If someone wants to read it I can post my current mutt-setup tomorrow. regards, Andre -- Andre Klärner
smime.p7s
Description: S/MIME cryptographic signature