How to filter/limit for syntactically invalid From: line?

googly.negotiator862 at aceecat.org googly.negotiator862 at aceecat.org
Mon Feb 3 18:19:16 UTC 2025


On Mon, Feb 03, 2025 at 09:08:46AM -0500, Ofer Inbar wrote:

> From: aaaaa.org" <no-reply at aaaaa.org>

> Probably because of the unbalanced quoting, these show up in my mutt
> index as being from "@" - just the @ character in the sender column.

> What search expression can I use in / or l(imit) or similar
> commands, to match messages with a From: header like this?  If I try
> to look for any other contents of the From: header line, these
> messages don't match.  For example, if I do ~faaaaa or ~fno-reply I
> get _other_ messages that have those strings in their From:, but not
> the message with the From: line I showed above.  And of course ~f@
> matches everything.

The first thing I'd try: ~f'^@$'

-- 
Ian


More information about the Mutt-users mailing list