Hi, Sounds like a mimedefang question, not a spamassassin one. But did you restart mimedefang after adding the rule?
Kind regards, Tom On 04-04-18 15:16, saqariden wrote: > Hello everybody, > > I'm using spamassassin with mimedefang, i have some custom rulesets, one > of those match when i test the positifs mail through "spamassassin -t", > but the mail still bypassing the milter. > > the rule: > header FR_SHORT_SPAM_H Subject =~ > /((\(|\[)\d{3,6}(\)|\]))/ > describe FR_SHORT_SPAM_H Subject with digits > score FR_SHORT_SPAM_H 3 > > ---------------------------------------------------------- > result of spamassassin -t: > 3.0 FR_SHORT_SPAM_H Subject with digits] > 1.5 FREEMAIL_FROM Sender email is commonly abused enduser mail > provider > 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record > (softfail) > 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is > CUSTOM_MED > -0.2 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) > ---------------------------------------------------------- > > mimedefang log: > Apr 4 14:39:55 vml224antispam-03 mimedefang.pl[14378]: w34CdrxJ026146: > MDLOG,w34CdrxJ026146,mail_in,,,<x...@xxxxxxx.fr>,<x...@xxxxxxxxxxxxx.fr>,(3750) > test > > the others custom rules work fine, what can be the problem please ? > > Signature Academique