Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 2 of 2

This is a discussion on spamassassin --sa-learn error in the You've got Mail forum
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 ...

  1. #1
    JPC Member
    Join Date
    Nov 2004
    Posts
    34

    spamassassin --sa-learn error

    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.

  2. #2
    JPC Dream Team
    Join Date
    Mar 2009
    Posts
    925
    We have received your ticket. We will check it and update you as soon as possible. Please hold on.
    Anoop
    Support Department
    JaguarPC.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •