Thank you for all you answers.

SA is setup as a demon.

I have managed to "solve" this problem after turning on debug mode for bayes
(-D bayes).

I was able to correlate that 10% of my messages not scanned by bayes are
connected with this error:
bayes: no dbs present, cannot tie DB R/O:
/var/spool/exim4/.spamassassin/bayes_toks

I don't know why exim4 home directory is used. SA is running on user spamd
with HOME=/home/spamassassin. The rest (90%) of messages are filtered just
fine:
bayes: tie-ing to DB file R/O /home/spamassassin/.spamassassin/bayes_toks
bayes: tie-ing to DB file R/O /home/spamassassin/.spamassassin/bayes_seen

SA is accepting messages only from remote mail system.

SA arguments:
/usr/local/bin/spamd --create-prefs -A ..... -i ....... -s mail
--helper-home-dir -u spamd -d --pidfile=/var/run/spamd.pid

--helper-home-dir - ?

I have solved this problem by creating link /var/spool/exim4/.spamassassin
-> /home/spamassassin/.spamassasin. I know it is ugly, but it works for me.

Regards,
Mark
-- 
View this message in context: 
http://www.nabble.com/Bayes-filter-not-always-triggered-tp23135995p23152591.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to