MailScanner causes SpamAssassin rules to firing inconsistently
Jerry Benton
jerry.benton at mailborder.com
Thu Nov 5 14:15:38 UTC 2015
You should feed it the MailScanner spamassassin configuration file when scanning a message.
/etc/MailScanner/spam.assassin.prefs.conf
-
Jerry Benton
www.mailborder.com
> On Nov 5, 2015, at 9:05 AM, Wolfgang Baudler <wbaudler at gb.nrao.edu> wrote:
>
> We run MailScanner 4.85.2 with SpamAssassin 3.4.1 on RHEL6. Bayes and
> Autolearn are disabled.
>
> I tried to add a custom rule to SpamAssassin local.cf and found that it
> fires inconsistently. A simple example rule is
>
> body TEST_RULE_AA /SOMETEXT/
> score TEST_RULE_AA 0.5
>
> If I send a test email locally with the string "SOMETEXT" the rule
> triggers all the time. If I run SpamAssassin from the command line, the
> rule triggers as well
>
> $ spamassassin <test.msg
>
> If I send a test message from an external provider like yahoo however the
> rule does not always fire (some other rules like FREEMAIL_FROM do fire).
>
> The peculiar thing is that they do fire some times if I resend the message
> often enough. I can not figure out what is causing these inconsistencies.
>
> This is a very basic body rule, which should fire unconditionally all the
> time it finds the string. It only has one score, so SpamAssassin score set
> changes shouldn't play into this either.
>
> What am I missing? Why are the rules not applied consistently for every
> email when SpamAssassin is run through MailScanner (and ONLY when it is
> run through MailScanner, sapmassassin detects it 100% of the time when run
> manually)?
>
> Any suggestions appreciated.
>
> Wolfgang
>
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
>
More information about the MailScanner
mailing list