Guys,
When I ran this command
# sudo -u vpopmail -H spamassassin -D --lint
and I check the output  I saw below error
[27427] dbg: bayes: tie-ing to DB file R/O /home/vpopmail/.spamassassin/bayes_toks [27427] warn: bayes: cannot open bayes databases /home/vpopmail/.spamassassin/bayes_* R/O: tie failed:
[27427] dbg: bayes: untie-ing DB file toks
[27427] dbg: bayes: not scoring message, returning undef
[27427] dbg: bayes: opportunistic call attempt failed, DB not readable

# sudo -u vpopmail -H sa-learn --dump magic
bayes: cannot open bayes databases /home/vpopmail/.spamassassin/bayes_* R/O: tie failed: bayes: cannot open bayes databases /home/vpopmail/.spamassassin/bayes_* R/O: tie failed: ERROR: Bayes dump returned an error, please re-run with -D for more information

I have another machine when I ran the same command I didn't display the error
the permission I think correct

drwx------   2 vpopmail vchkpw 16384 Apr 20 01:27 .spamassassin

ls -ail .spamassassin/
total 2440
14385296 drwx------  2 vpopmail vchkpw   16384 Apr 20 01:27 .
14385153 drwx------  9 vpopmail vchkpw    4096 Jan 24 13:50 ..
14385300 -rw-------  1 vpopmail vchkpw  704512 Apr 20 01:20 auto-whitelist
14388610 -rw-------  1 vpopmail vchkpw   67032 Apr 20 01:27 bayes_journal
14385238 -rw-------  1 vpopmail vchkpw  720896 Apr 20 01:01 bayes_seen
14385237 -rw-------  1 vpopmail vchkpw 1343488 Apr 20 01:20 bayes_toks

what cause it? and how to fix it ?

thx

Reply via email to