On 15.08.09 10:56, Mike Cardwell wrote: > How would I create a rule to match when a subject line begins /^Re: /i > but the message contains no References or In-Reply-To headers?
do you mean this one? % grep -e FAKE_REPLY_C -e __SUBJ_RE -e __MISSING_REF -e __NO_INR_YES_REF * 50_scores.cf:score FAKE_REPLY_C 3.126 2.197 2.222 2.012 # n=2 72_active.cf:##{ FAKE_REPLY_C 72_active.cf:meta FAKE_REPLY_C (__SUBJ_RE && __MISSING_REF && __NO_INR_YES_REF) 72_active.cf:##} FAKE_REPLY_C 72_active.cf:meta SUBJ_RE_NUM !__THEBAT_MUA && __SUBJ_RE_NUM 72_active.cf:header __MISSING_REF References =~ /^UNSET$/ [if-unset: UNSET] 72_active.cf:meta __NO_INR_YES_REF (__XM_GNUS || __XM_MSOE5 || __XM_MSOE6 || __XM_MOZ4 || __XM_SKYRI || __XM_WWWMAIL || __UA_GNUS || __UA_KNODE || __UA_MUTT || __UA_PAN || __UA_XNEWS) 72_active.cf:header __SUBJ_RE Subject =~ /^R[eE]:/ 72_active.cf:header __SUBJ_RE_NUM Subject =~ /^\s*Re\[\d+\]:/i -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. I wonder how much deeper the ocean would be without sponges.