Re: bypass milter but not the test.

2018-04-04 Thread Dianne Skoll
On Wed, 4 Apr 2018 17:16:04 +0200
Tom Hendrikx  wrote:

> Sounds like a mimedefang question, not a spamassassin one. But did you
> restart mimedefang after adding the rule?

You can force MIMEDefang to reread everything without restarting it:

md-mx-ctrl reread

Regards,

Dianne.


Re: bypass milter but not the test.

2018-04-04 Thread Tom Hendrikx
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,,,,,(3750)
> test
> 
> the others custom rules work fine, what can be the problem please ?
> 
> Signature Academique


bypass milter but not the test.

2018-04-04 Thread saqariden

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}(\)|\]))/
describeFR_SHORT_SPAM_H Subject with digits
score   FR_SHORT_SPAM_H 3

--
result of spamassassin -t:
 3.0 FR_SHORT_SPAM_HSubject 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,,,,,(3750) 
test

the others custom rules work fine, what can be the problem please ?

Signature Academique