Choose 'From:' address based on 'To: address
Will Yardley
mutt-users at veggiechinese.net
Thu Feb 25 17:56:48 UTC 2021
On Thu, Feb 25, 2021 at 04:11:02PM +0000, Alexander Huemer wrote:
> Is there a configuration option to choose which 'From:' email address
> shall be used if a mail to a certain 'To:' address is composed? If a
> 'To:' address isn't in the mapping, then the 'set from' configuration
> setting should be the fallback.
I do something like this:
set use_from
set from="luser at example.net"
send-hook . 'unmy_hdr From:'
set reverse_name
alternates '(.*@example\.net|someuser at example\.com)'
/w
More information about the Mutt-users
mailing list