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

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Fri Sep 16 16:58:52 IST 2005


Matt

In MailScanner.conf check SpamAssassin Site Rules Dir is set properly..

SpamAssassin Site Rules Dir = /etc/mail/spamassassin


--
Martin Hepworth 
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Matt Kettler
Sent: 16 September 2005 16:45
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: [MAILSCANNER] Some .cf files not being used by SpamAssassin
under MailScanner?

Dhawal Doshy wrote:
> 
> Just a small suggestion, what if you "cat lotto.cf >> local.cf (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/monolithic.cf

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 lotto.cf
> (already sure you've done that) 

I checked all that, everything is world readable.

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


> 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 jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!


**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	

**********************************************************************

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list