Re: ignore heading question

Will Yardley <[email protected]>
Newsgroups gmane.mail.mutt.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.