Some .cf files not being used by SpamAssassin under MailScanner?

Matt Kettler mkettler at EVI-INC.COM
Fri Sep 16 17:09:22 IST 2005

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Matt Kettler wrote:
> Dhawal Doshy wrote:
>>Just a small suggestion, what if you "cat >> (or
>>spam.assassin.prefs.conf)" and test out mailscanner.. won't help you to
>>really solve the problem but will at the least identify if the '.cf'
>>file is not being read at all OR mailscanner can't read the lotto rules.
> I tried making ALL my rules into one file. I moved all my .cf files out and did:
> cat * >> /etc/mail/spamassassin/
> and then reloaded mailscanner.
> Still the problem persists. SA honors the lotto rules, mailscanner does not

Some more follow-up on this. I can verify MS is parsing, and I can
verify it's not aborting somewhere in the file prior to hitting my lotto rules.

I found two rules that are working: EVI_OPAL and BLACK_URI_RBL. L_LUCKYDAY is
not working.

EVI_OPAL works, declared on line 5015
L_LUCKYDAY ignored, declared on line 6066
BLACK_URI_RBL works, declared line 6225

However, I did another test... I can now verify that all the plain body rules in seem to be ignored, but all the header rules are running. The
drugs rules run as well, but they are meta tests..

But spamassassin commandline runs them all just fine.

X-Spam-Status: Yes, hits=6.2 required=5.0 tests=BAYES_44,
        autolearn=no version=2.64

X-EVI-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.158, required 5,
        BAYES_40 -0.00, INFO_GREYLIST_NOTDELAYED -0.00, NO_REAL_NAME 0.16)

SARE_ENLRGYOUR is one of the earliest body rules, declared on line 113.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list