Stephane MAGAND wrote:
Hi
i am new in Spamassassin, anyone can say me if this rules are correct ?
header MY_FILTRAGE_FROM_93 From =~ /txxa\.px...@makk\.fi/
header MY_FILTRAGE_TO_93 To =~ /exxent\.net/
meta MY_FILTRAGE_93 (MY_FILTRAGE_FROM_93 && MY_FILTRAGE_TO_93)
score MY_FILTRAGE_93 200
(xx it's my change)
i want that a email from txxa.p...@makk.fi to all email of @exxent.net
have a +200
in score
my synthaxe are correct .?
Thanks
Stephane
Looks good :)
If you add two underscores to the start of the two rules making up the
meta rule, then they will be evaluated but not scored otherwise I think
both rules would have a default score of 1.0. Also, you should probably
add the "@" sign to exxent.net.
header __MY_FILTRAGE_FROM_93 From =~ /txxa\.px...@makk\.fi/
header __MY_FILTRAGE_TO_93 To =~ /\...@exxent\.net/
meta MY_FILTRAGE_93 (__MY_FILTRAGE_FROM_93 && __MY_FILTRAGE_TO_93)
score MY_FILTRAGE_93 200