On 2014/12/15 1:24 PM, 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 > > firstname lastname em...@provider.com blah > > I think it would normally have to be > > firstname lastname <em...@provider.com> > > or > > "firstname lastname" <em...@provider.com> > > 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 >
John, I'm just a lurker here, and I don't even use mutt, and I don't even run Linux except in a virtual machine of very limited function, but I think I may be able to help you. It appears to me that this 'score' you write about uses regular expressions in string search matching. If it was Java, I'd use: From: "\S+\s+\S+\s+[^@]+@hotmail\.com \[[^\]]+\]" <[^@]+@yahoogroups\.com> Kindly forgive me if this is totally off the wall. - Mark.