* On 15 Dec 2014, John Long wrote: > Hi, > > On Mon, Dec 15, 2014 at 06:29:43PM +0100, Francesco Ariis wrote: > > ~f does work on my machine (Tested with <limit>~f [email protected] /and/ > > with 'score'). > > The "From" header (yahoo group) looks similar to yours: > > It's not similar enough: > > > > > From: "[email protected] [abcusers]" <[email protected]> > From: "phoney bologna [email protected] [bademails]" > <[email protected]> > > You have a real email id in the sender portion. The example I am using has a > non-RFC format (AFAIK) email address with
Francesco is right, this should work. ~f a@b will match a@b whether it's the actual address or inside the "name" portion. Here's an example from my mailbox: From: "First Last [email protected] [ListName]" <[email protected]> Sender: <[email protected]> So ~e [email protected] won't work because Sender: does not have your target pattern, but ~f [email protected] should. If it does not there's something else wrong. Your example is a valid RFC From: line, by the way. All the goofy stuff is inside double quotes, and the proper email address is inside angle brackets. It's annoying, and it breaks crypto, but strictly in terms of address format it's legit. > firstname lastname [email protected] blah > > I think it would normally have to be > > firstname lastname <[email protected]> > > or > > "firstname lastname" <[email protected]> > > I suspect this nonconformance is part of the problem and I don't know how to > get Mutt to scan the header since it could be not a valid header at all. > > /jl > > -- > ASCII ribbon campaign ( ) Powered by Lemote Fuloong > against HTML e-mail X Loongson MIPS and OpenBSD > and proprietary / \ http://www.mutt.org > attachments / \ Code Blue or Go Home! > Encrypted email preferred PGP Key 2048R/DA65BC04 -- David Champion • [email protected]
