Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    448

    Default 'cannot open bayes database' in /var/log/maillog - spamassassin problem

    fyi:

    grep -i 'cannot open' /var/log/maillog

    produced lots of entries like this:

    Aug 3 13:29:56 saturn spamd[21826]: bayes: cannot open bayes databases /home/carealot/.spamassassin/bayes_* R/O: tie failed:
    Aug 3 13:29:56 saturn spamd[21826]: bayes: cannot open bayes databases /home/carealot/.spamassassin/bayes_* R/O: tie failed:
    Aug 3 13:31:46 saturn spamd[22469]: bayes: cannot open bayes databases /home/carealot/.spamassassin/bayes_* R/O: tie failed:
    Aug 3 13:31:46 saturn spamd[22469]: bayes: cannot open bayes databases /home/carealot/.spamassassin/bayes_* R/O: tie failed:
    Aug 3 13:31:47 saturn spamd[22469]: bayes: cannot open bayes databases /home/carealot/.spamassassin/bayes_* R/O: tie failed: No such file or directory
    Aug 3 13:31:47 saturn spamd[21826]: bayes: cannot open bayes databases /home/carealot/.spamassassin/bayes_* R/O: tie failed:

    Permissions on /home/carealot/.spamassassin appeared to be incorrect:

    carealot.nobody when they should be carealot.carealot

    Tried this:

    chown -R carealot.carealot /home/carealot/.spamassassin

    ... but the errors still kept appearing in maillog.

    So in cpanel I disabled spamassassin on this account, rm-rf /home/carealot/.spamassassin, renabled spamassassin on this account (which had the effect of recreating the .spamassassin dir) - and the errors have not stopped appeaing in maillog.

    I got looking into this problem shortly after receiving a call from carealot pop account owner who reported that some emails didn't appear to be getting through - and this was shortly after I'd enabled spamassassin on the account. So it's possible but not definite that the spamassassin problem was causing email problems.
    • Web Design Perth .:. Itomic Business Website Solutions of Perth, Western Australia

  2. #2
    Member
    Join Date
    Mar 2002
    Posts
    448
    • Web Design Perth .:. Itomic Business Website Solutions of Perth, Western Australia

Similar Threads & Tags
Similar threads

  1. SpamAssassin errors in /var/log/maillog
    By bhd in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-11-2007, 03:21 AM
  2. BIG maillog in /var/log/ after exim update
    By konrath in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-19-2007, 09:15 PM
  3. spamd erros on /var/log/maillog
    By nocbr.com in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 10-10-2006, 06:07 PM
  4. /var/log/maillog blank
    By Ali in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-24-2005, 03:46 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube