[Mimedefang] spamassassin vs mimedefang/spamassassin - different results

Nels Lindquist nlindq at maei.ca
Tue May 6 16:55:00 EDT 2003


On 6 May 2003 at 12:52, Mike Batchelor wrote:

> --On Tuesday, May 06, 2003 3:08 PM -0400 "David F. Skoll" 
> <dfs at roaringpenguin.com> wrote:
<SNIP>
> > MIMEDefang by default turns off the BAYES rules.  In a system-wide
> > installation, it's hard to train the Bayesian analyzer.

> So how does one turn it back on?
 
You'll need to set a couple of things in 
/etc/mail/spamassassin/sa-mimedefang.cf:

use_bayes          1
bayes_path         [/var/spool/MD-Quarantine/]bayes
auto_learn         1

Replace the contents of [] with your MIMEDefang quarantine directory.

With MD + SA, you'll be using a site-wide bayes configuration, so if 
you do any commandline training with sa-learn, make sure that the 
user(s) wich run sa-learn have bayes_path set as above in 
~/.spamassassin/user_prefs.

Also make sure that if you initialize the bayes_* database files with 
a non-defang user (eg, root) that you chown them to your defang user 
so that MIMEDefang is able to perform updates.

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.




More information about the MIMEDefang mailing list