I've recently ran into an issue with a spamassassin cron job that has been running without issue for a couple years now. I'm not sure what has caused the problem to start occurring.
Once a week the cron job runs for each user account in order to learn and delete all spam messages. However, for some reason the call to sa-learn in now resulting in an error:
I have shell access for this account, and from the command line I can try to run sa-learn for an individual account like this:
/usr/bin/sa-learn --spam /home/jaccount/mail/mydomain.com/user/.spam/cur/
I then get the following error:
config: could not find site rules directory
Learned tokens from 0 message(s) (1 message(s) examined)
ERROR: the Bayes learn function returned an error, please re-run with -D for more information at /usr/bin/sa-learn line 493.
Can anyone help to identify this issue? Does this indicate that the site rules directory has been moved for this account? How to I find out where it is currently located?
I manage a second account for a different domain that is running the very same script for processing spam. It continues to work without any issues at all.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks