Configuration file not being read?
Rob Starr
rstarr at grantstream.com
Tue Oct 30 14:40:05 GMT 2007
Hi there,
I'm using MailScanner 4.64.3 + Postfix + SpamAssassin 3.2.3.
I believe this is a MailScanner configuration problem. My issue is that
spamassassin rules from sa-update are not being used (and I've verified they
exist in /var/lib/spamassassin/3.002003).
A MailScanner lint test reports no issues. A SpamAssassin lint test also
reports no issues, and shows the sa-update rules being used. Spamassassin
-t /tmp/spam.sample shows the rules being used.
"MailScanner --debug --debug-sa":
---------------------------------
In Debugging mode, not forking...
SpamAssassin temp dir = /var/spool/MailScanner/incoming/SpamAssassin-Temp
debug: Score set 0 chosen.
debug: running in taint mode? no
debug: ignore: test message to precompile patterns and load modules
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/var/spool/postfix/.spamassassin/user_prefs" for user prefs
file
...
/etc/MailScanner/MailScanner.conf snippet:
-----------------------------------------
SpamAssassin Site Rules Dir = /etc/mail/spamassassin
SpamAssassin Local Rules Dir =
SpamAssassin Local State Dir = /var/lib/spamassassin
SpamAssassin Default Rules Dir =
It seems MailScanner is using a different config file than the one I'm
looking at... ?
I've also verified that:
/etc/init.d/MailScanner is using /etc/sysconfig/MailScanner
AND
/etc/sysconfig/MailScanner is using /etc/MailScanner/MailScanner.conf
What am I missing here?
Thanks,
Rob Starr
More information about the MailScanner
mailing list