Setting From header based on To header

Jens Mueller jens.k.mueller at gmx.de
Tue Feb 18 21:47:31 UTC 2020


Hi,

I have a mail account with aliased mail addresses, i.e., mails sent to
me.something at example.com, me.somethingelse at example.com, etc. are
delivered to me at example.com. The To header indicates which alias an
email was sent to, e.g, me.something at example.com.
I was looking for a way to set the From header based on the To header
when replying in mutt. This way I could set From to
me.something at example.com when To was me.something at example.com.
But I couldn't find a way to achieve this when reading on the various
configuration settings regarding the From header. How could one approach
this?
Currently I edit the From header manually when composing the reply
message.

Jens


More information about the Mutt-users mailing list