MS, Spamassassin and Bayes

Stephen Swaney steve.swaney at FSL.COM
Tue Mar 23 00:29:03 GMT 2004


> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Jason Williams
> Sent: Monday, March 22, 2004 7:22 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: MS, Spamassassin and Bayes
>
> Hello everyone!
>
> As im working to put my mailserver here live, I had a few additional
> questions in regards to getting SA gelling correctly with MS.
>
> I've been following the directions per the FAQ on the MS web site, but was
> hoping to get a few things clarified.
>
> Here is a snip of some output that was generated when I initiated
> spamassassin -D --lint
>
> mailmg# spamassassin -D --lint

Try running:

spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf --lint

To pickup the actual SpamAssassin preferences that MailScanner uses.

Steve

Stephen Swaney
President
Fortress Systems Ltd.
Steve.Swaney at FSL.com

> debug: Score set 0 chosen.
> debug: running in taint mode? no
> debug: ignore: using a test message to lint rules
> debug: using "/usr/local/share/spamassassin" for default rules dir
> debug: using "/usr/local/etc/mail/spamassassin" for site rules dir
> debug: using "/root/.spamassassin" for user state dir
> debug: using "/root/.spamassassin/user_prefs" for user prefs file
> debug: using "/root/.spamassassin" for user state dir
> debug: bayes: no dbs present, cannot scan: /root/.spamassassin/bayes_toks
>
>  From what I read on the FAQ, it said that you really dont want your
> user_prefs and bayes to be in /root/.spamassassin
>
> Per the FAQ recommendations, I added the following to my
> spam.assassin.prefs.conf
>
> auto_whitelist_path        /var/spool/spamassassin/auto-whitelist
> auto_whitelist_file_mode   0644
> bayes_path                 /var/spool/spamassassin/bayes
> bayes_file_mode            0644
> use_bayes 1
>
> Yet, when I run SA in debugging mode, it is still pointing to the
> /root/.spamassassin directory. Any reason why this is is still occuring
> and
> how to fix it?
>
> One last thing. In Mailscanner.conf, there are these a few entries (In the
> SA section)
>
>
> SpamAssassin User State Dir =
>
>
> What's the difference between the following entries below?
>
> SpamAssassin Site Rules Dir = /etc/mail/spamassassin
>
> SpamAssassin Local Rules Dir =
>
>
> Just trying to figure out what location and directory does what.
>
> I appreciate it.
>
> Jason
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> Fortress Systems Ltd.
> www.fsl.com
>



--
This message has been scanned for viruses and
dangerous content by Fortress Secure Mail Gateway
and was found to be clean.

Fortress Systems Ltd. - http://www.fsl.com



More information about the MailScanner mailing list