[Mimedefang] summary of site-wide bayes with SA 2.5 and MD?
Jason Englander
jason at englanders.cc
Wed Feb 26 15:16:01 EST 2003
On Wed, 26 Feb 2003, Douglas J Hunley wrote:
> can someone post a summary of what needs to be done to get a site-wide bayes
> setup working with SA 2.5 and MD? I keep seeing little tidbits, but I'm not
> sure of the whole picture. thanks
If your MIMEDefang is running as user defang:
mkdir /var/spool/spamassassin
chown defang.root /var/spool/spamassassin
chmod 750 /var/spool/spamassassin
Put these two in /etc/mail/spamassassin/sa-mimedefang.cf:
bayes_path /var/spool/spamassassin/bayes
bayes_file_mode 0700
Reload MIMEDefang.
>From then on it should use autolearn to build the bayes db. (SA score
of -2 or less = ham, SA score of 15 or more = spam)
If you want to use sa-learn, pass "-p
/etc/mail/spamassassin/sa-mimedefang.cf" to it when you run it.
To view what's going on in the bayes db, run "check_bayes_db
--dbpath=/var/spool/spamassassin/bayes" (check_bayes_db is under the SA
source tree in the tools directory)
That's all I did (that I can remember <g>).
Jason
--
Jason Englander <jason at englanders.cc>
394F 7E02 C105 7268 777A 3F5A 0AC0 C618 0675 80CA
More information about the MIMEDefang
mailing list