On Mon, Mar 24, 2025 at 10:04:13AM -0500, mikemcclain...@att.net wrote: > When I was with frontier.com I wrote a little script that would > rewrite 'from' and 'envelope_from_address' in .muttrc and it worked > fine when I wanted to change those addresses on the fly. > Frontier canceled me and I signed up with Optimum which doesn't do > email so had to go back to ATT for sending emails. Since most of my > email addresses are *.att.net changing 'from' and > 'envelope_from_address' in .muttrc breaks email sending since mutt > insists that those must agree with 'smtp_url'.
Have you looked at the setting of $envelope_from? This controls whether Mutt will or won't try to use the header from address as the envelope-sender. w