lint/debug no work, why?

Jeff A. Earickson jaearick at
Tue Nov 17 16:06:50 GMT 2009


I was chasing some SpamAssassin issues, so I wanted to run version
4.78.17 in debug mode on Solaris 10.  So I shut down the normal MailScanner
(which runs fine), and did:

   /opt/MailScanner/bin/MailScanner --debug --lint
   Trying to setlogsock(native)

   Reading configuration file /opt/MailScanner/etc/MailScanner.conf
   Reading configuration file /opt/MailScanner/etc/conf.d/README
   Read 856 hostnames from the phishing whitelist
   Read 7938 hostnames from the phishing blacklists
   Config: calling custom init function IPBlock
   Initialising IP blocking
   Read 147 IP blocking entries from /etc/MailScanner/IPBlock.conf

   Checking version numbers...
   Version number in MailScanner.conf (4.78.17) is correct.

   Your envelope_sender_header in spam.assassin.prefs.conf is correct.

   Checking for SpamAssassin errors (if you use it)...
   Using SpamAssassin results cache
   Connected to SpamAssassin cache database
   (just sits there forever)

So I removed /var/spool/MailScanner/incoming/SpamAssassin.cache.db
and tried again, still nothing.  Any suggestions?

My underlying problem is that the MISSING_SUBJECT and NO_RECEIVED rules
always seemed to fire in SA, and I was tryting to figure out why (googled,
others have noted this).  Interestingly, removing the cache.db file
maybe seems to have fixed this problem.  I wonder if SpamAssassin.cache.db
should be nuked at the beginning of MailScanner startup, to start fresh?

Jeff Earickson
Colby College

More information about the MailScanner mailing list