You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by saqariden <sa...@ac-montpellier.fr> on 2018/04/04 13:16:29 UTC

bypass milter but not the test.

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,,,<xx...@xxxxxxxxxxxxx.fr>,(3750) test

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

Signature Academique

Re: bypass milter but not the test.

Posted by Dianne Skoll <df...@roaringpenguin.com>.
On Wed, 4 Apr 2018 17:16:04 +0200
Tom Hendrikx <to...@whyscream.net> 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.

Posted by Tom Hendrikx <to...@whyscream.net>.
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,,,<xx...@xxxxxxxxxxxxx.fr>,(3750)
> test
> 
> the others custom rules work fine, what can be the problem please ?
> 
> Signature Academique