Joseph Hesse wrote:
> I just set up a virtual Postix/Dovecot/MySQL server serving multiple
> domains. [...] Is there a command line for mutt so I can send email from
> a "user@domain" in the database to an arbitrary email address?
Do you merely want a different address in the "From" header of the outgoing
mutt -e 'set realname="Mr Foo";set from=...@example.org' b...@example.com
If you want the other headers to reflect the user too, you want to configure
the smtp-url, and remember to configure postfix to accept submissions too.
mutt -e 'set smtp_url="smtp://...@mail.example.org:587/"' ...
And if you do not want to remember these cryptic parameters, a convenient
way to handle multiple identities is mutt's folder hooks.