On Tue, Feb 18, 2025 at 01:21:26PM -0500, Jude DaShiell wrote:

> Why doesn't mutt ignore User-Agent: or should that be saved as ignore 
> User-Agent?

Hard to say without seeing your config(s)..

By default, looks like mutt will include User-Agent and X-Mailer (which
to me, seems like a reasonable default behavior).

I would double-check any vendor distributed configs as well (i.e., if
there is a system Muttrc that may differ from mutt's defaults)..

That said, if you want to change from the default, you may have to first
ignore *, and then unignore the headers you do want.

In my config, I have:

ignore *
unignore        user-agent: x-agent: x-mailer:
[...]
hdr_order   [....]

It also worked for me to add an explicit ignore, though it seemed from a
quick test like I had to omit the colon for it to work?

/w

Reply via email to