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 [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 > > 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 >
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.
