On Wed, Feb 04, 2026 at 10:57:19AM -0800, [email protected] 
wrote:
> So, how can I set envelope-from to something arbitrary with reasonable
> ease? I would not consider manually executing ":set envelope-from=..."

Does setting $envelope_from work for you?

That, combined with some other settings, I think will do what you want,
assuming your MTA is configured properly as well.

Something like (based on my config):

set realname="Your Name"
set use_from
set from="[email protected]"
send-hook . 'unmy_hdr From:'
set reverse_name
alternates '(.*@example\.com|(othername|postmaster)@example\.net)'
set envelope_from
# Note: $reverse_name is usually sufficient for _replying_ with the
# address a message was sent to in most cases if it matches the regex in
# $alternates, but you can also use send-hooks for things like sending
# new mail to a list or a specific recipient.
send-hook '~C ^mutt-users@mutt\.org$' 'my_hdr From: Your Name 
<[email protected]>'

w

Reply via email to