Mailscanner + spamassassin +Razor + Pyzor + DCC

Matt Kettler mkettler at evi-inc.com
Wed Mar 14 19:05:43 CET 2007


Nicolas Canepa wrote:
> Hi, I am using Mailscanner with spamassassin. For what i've read you can
> define in Mailscanner.conf to use pyzor, razor and dcc, or tell
> spamassassin to use razor, pyzor and dcc in the local.cf file.

Em, no. you can define it in MailScanner.cf, spam.assassin.prefs.conf, or local.cf.

You cannot define it in MailScanner.conf, which is a MailScanner config file.
Mailscanner.cf on the other hand is a spamassassin config file, and lives in the
spamassassin site rules directory.

> What's the best choice? 

MailScanner.cf and local.cf are functionally equal to SA.

Technically (by the SA docs) many of these settings don't belong in
spam.assassin.prefs.conf, and will be ignored if present there (but in practice,
SA currently honors them because of how MS invokes SA).
For most of us, spam.assassin.prefs.conf is just a symlink to MailScanner.cf anyway.

What happens if I tell both to use it?

Should work fine.

> How can I know that razor pyzor and dcc are working?

First, get it working in SA:

Assuming SA 3.1.0 or higher, make sure the plugins are not commented out in your
spamassassin *.pre config files. If the plugin isn't loaded, it won't run.

Run spamassassin --lint. Fix any complaints.

Feed a test message into spamassassin -tD. Look at the debugs, you should see
several debug messages for each tool SA is querying.


>From there, reload (or restart) MailScanner, and check for the rules hitting in
 your logs.




More information about the MailScanner mailing list