~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:
From: "t...@example.com [abcusers]" <badema...@yahoogroups.com> We're using the same version of mutt (Mutt 1.5.21 (2010-09-15)); maybe you have a syntax error in your scores and/or conflicting rules? -F On Mon, Dec 15, 2014 at 05:06:44PM +0000, John Long wrote: > On Mon, Dec 15, 2014 at 05:56:02PM +0100, Jostein Berntsen wrote: > > On 15.12.14,16:08, John Long wrote: > > > Yahoogroups mangles the From: headers badly and Mutt doesn't seem to want > > > to > > > listen to me when I tell him to score using ~f or ~e. Is there a (better) > > > way to score this? > > > > > > Here is a sample From: header > > > > > > From: "phoney bologna bolognapho...@hotmail.com [bademails]" > > > <badema...@yahoogroups.com> > > > > > > score '~f bolognapho...@hotmail.com' -100 # doesn't work > > > score '~e bolognapho...@hotmail.com' -100 # doesn't work > > > > > > I can't kill everything with the address of badema...@yahoogroups.com > > > because then I won't see anything posted to the group. > > > > > > Any ideas? Thanks. > > > > > > > Can you rewrite these headers with formail and then score them? > > I would like to be able to do whatever I have to do directly in Mutt. > > /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
signature.asc
Description: Digital signature