How do you know if Spam Assassin is using bayes?

Scott Silva ssilva at sgvwater.com
Thu Jan 24 23:45:43 GMT 2008


on 1/24/2008 3:27 PM Kyle Schmitt spake the following:
> It sounds like a silly question, but how do you know if SA is using
> the bayes filter?
> After reviewing and editing the config files, I don't see anything
> being created in the directory that the bayes db is supposed to be in.
> How do you really check?
> 
> Thanks,
>       Kyle
You can always run "spamassassin -D --lint and look for the lines with "dbg: 
bayes" in them like this;

[14537] dbg: bayes: tie-ing to DB file R/O /etc/MailScanner/bayes/bayes_toks
[14537] dbg: bayes: tie-ing to DB file R/O /etc/MailScanner/bayes/bayes_seen
[14537] dbg: bayes: found bayes db version 3
[14537] dbg: bayes: DB journal sync: last sync: 1201217727


-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080124/bb1c2d47/signature.bin


More information about the MailScanner mailing list