On Mon, Dec 15, 2014 at 02:28:29PM -0600, David Champion wrote: > * 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 t...@example.org /and/ > > > with 'score'). > > > The "From" header (yahoo group) looks similar to yours: > > > > It's not similar enough: > > > > > > > > From: "t...@example.com [abcusers]" <badema...@yahoogroups.com> > > From: "phoney bologna bolognapho...@hotmail.com [bademails]" > > <badema...@yahoogroups.com> > > > > 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.
But it doesn't or we wouldn't be having this discussion. I already tried this numerous times before posting. Copying the actual offending email address right from the raw email and pasting it into my scorefile in the form score '~f offen...@hotmail.com' =-100 does nothing for this guy. I have no problem scoring From: on mailing lists except with Yahoo. I have to believe the way they mangle the header has something to do with this problem. > > Here's an example from my mailbox: > From: "First Last em...@example.net [ListName]" > <listname-nore...@yahoogroups.com> > Sender: <listn...@yahoogroups.com> > > So ~e em...@example.net won't work because Sender: does not have your > target pattern, but ~f em...@example.net should. If it does not there's > something else wrong. Agreed but what could it be? > 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. Ok, thanks. /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