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

Matt Kettler mkettler at EVI-INC.COM
Fri Sep 16 16:45:11 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. ]

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

> Also check some basic things like ownership / permissions on
> (already sure you've done that) 

I checked all that, everything is world readable.

# ls -l /etc/mail/spamassassin/
total 352
-rw-r--r--    1 root     root       353254 Sep 16 11:31

> assuming you are running --lint (or -D)
>> as root and mailscanner as your mta id / group.

Actually, I'm running both as root, which is typical in a sendmail environment.

# ps xu |grep MailScanner
root      9890  0.0  3.3 22180 17420 ?       S    11:29   0:00 /usr/bin/perl
-I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf

<snip, copies of all the children, also running as root>

------------------------ 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