Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'E-mail Discussion' started by spaceman, Aug 3, 2006.

  1. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    497
    Likes Received:
    3
    Trophy Points:
    318
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    497
    Likes Received:
    3
    Trophy Points:
    318
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice