You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by got2go <go...@msn.com> on 2007/08/26 09:26:39 UTC
Bayes DB file locations help
Hello all,
I am trying to get Bayes working on CentoS 4.3 with Postfix, MailScanner,
IMP (with Spam reporting feature).
I cant seem to figure out how the make one central location for the bayes
database files.
It seems they are in different places, all being utilized at some point.
[root@cyrus ~]# locate bayes
/usr/share/spamassassin/23_bayes.cf
/etc/MailScanner/bayes
/root/.spamassassin/bayes_toks
/root/.spamassassin/bayes_journal
/root/.spamassassin/bayes
/root/.spamassassin/bayes/bayes_toks
/root/.spamassassin/bayes/bayes_journal
/root/.spamassassin/bayes/bayes_seen
/root/.spamassassin/bayes_seen
/root/.spamassassin/bayes.mutex
/var/www/.spamassassin/bayes_toks
/var/www/.spamassassin/bayes_seen
/var/www/.spamassassin/bayes.mutex
/var/spool/MailScanner/spamassassin/bayes_toks
/var/spool/MailScanner/spamassassin/bayes_journal
/var/spool/MailScanner/spamassassin/bayes_seen
/var/spool/MailScanner/spamassassin/bayes.mutex
Can anybody shed some light into this ?
Thanks in advance!
--
View this message in context: http://www.nabble.com/Bayes-DB-file-locations-help-tf4330318.html#a12332781
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: Bayes DB file locations help
Posted by Matt Kettler <mk...@verizon.net>.
got2go wrote:
> Hello all,
>
> I am trying to get Bayes working on CentoS 4.3 with Postfix, MailScanner,
> IMP (with Spam reporting feature).
>
Check your /etc/mail/spamassassin/mailscanner.cf. (if you don't have
one, your MailScanner is ancient)
If you've got this line:
bayes_path /var/spool/MailScanner/spamassassin/bayes
Then that's what you're using for everything.
If it's commented out, then
MailScanner should be using /root/.spamassassin/.
IMP might be using /var/www
If you have no /etc/mail/spamassassin/mailscanner.cf, and a REALLY old
mailscanner, check your spam.assassin.prefs.conf, for a bayes_path.
If that's the case then:
locally logged in as root is using /root/.spamassassin
IMP might be using /var/www/
MailScanner is probably using spam.assassin.prefs.conf, which
probably has the /var/spool/MailScanner bayes_path.