MailScanner/SpamAssassin Debug?

Julian Field MailScanner at
Thu May 15 15:14:22 IST 2008

Henry Kwan wrote:
> Hi,
> Am setting up a MailScanner frontend (CentOS5, Postfix, MailScanner,
> SpamAssassin, ClamAV) and everything seems to be up and running but since
> I'm currently using a test domain, I'm not getting a lot of emails yet. 
> How can I be sure that MailScanner/SpamAssassin is functioning correct? 
> When I send test emails from something like GMail, very few SA tests get
> triggered.  If I run SpamAssassin by itself and get the expected results,
> does that mean everything is OK?
> What exactly does "Debug SpamAssassin = yes" do?  There's no apparent
> difference in output or in the log file.
It is designed to be used from the command-line (as "--debug-sa") in 
conjunction with the Debug switch "--debug".

So run MailScanner on one batch of messages with
MailScanner --debug --debug-sa
and you will see a *very* different output.


Julian Field MEng CITP CEng
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key:

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list