Nick Meverden nmeverde at NP.K12.MN.US
Mon Nov 29 18:22:10 GMT 2004

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

>>>> nmeverde at NP.K12.MN.US 11/29/04 11:15AM >>>
>> After upgrading to mailscanner-4.34.8-4 I noticed after looking at
> some
>> mail headers my server is no longer using bayes.  I've tried putting
>> use_bayes 1 in spam.assassin.prefs.conf, but nothing changed and
> after
>> that I do not know what else to try. Any help is appreciated.
>>>check the permissions on the bayes_* files to make sure that the pid
> owner
>>>of MailScanner has access to them.
>>>  - Nick
> Thanks, I just checked that I'm running Mailscanner with postfix and
> the run as user and group are set to postfix and the directory which the
> bayes_* resides is owned by postfix and writable.  The thing though is
> that the bayes_tokes file was last written to today, so the database
> seems to be getting updated. It is just when I look at the header of an
> email it does not have a score or listing for bayes(e.g. Bayes_00) ever
> since the upgrade.

manually call spamassassin and look for errors when it tries to use the
bayesdb.  Set the path for the bayesdb in spam.assassin.prefs.conf and run

spamassassin -D --lint --prefs-file=/path/to/spam.assassin.prefs.conf >
/tmp/log 2>&1

that will redirect the debug output to /tmp/log

debug information will show which files its looking to for bayes db and if
there are any errors and will try to use bayes to score the test message.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list