On Tue, 21 Feb 2006, Muenz, Michael wrote: > Dear List, > > I've created some really simple HAM rules for my setup. > Just give from belgium to a specific domain -1 points. > spamassassin --lint doensn't give me any errors back, but > amavisd-new doesn't list the rule. > > > Log: > > SPAM, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Yes, > score=7.959 tag=2.5 tag2=5.5 kill=5.5 tests=[BAYES_99=5.1, > MY_DSL=0.5, MY_DSL2=0.2, RCVD_IN_SORBS_SOCKS=2.159], > autolearn=no, quarantine 9J9XFI21Lr3n (spam-quarantine) > > Rule: > > header __FROM_BELGIUM From =~ /\.be$/i > header __TO_DOMAIN To =~ /[EMAIL PROTECTED]/i > meta FROM_TO_DOMAIN7 (__FROM_BELGIUM && __TO_DOMAIN) > score FROM_TO_DOMAIN7 -1.0
maybe the rule is missing the "<>" which encloses the to entry. at least this fits <[EMAIL PROTECTED]>: echo "<[EMAIL PROTECTED]>"| perl -ne 'print if m/\.be\>$/i' regards, Matthias