I've been experimenting with configuration of spamassassin for sitewide use (in particular, using spamassassin 2.60 with sa-exim 3.1 and exim 4.30, under Solaris 8), and for the life of me, I can't seem to get bayesian classification and autolearn working.

No matter what I do, my X-Spam-Status header indicates that autolearn=no, and the bayes files never get created.

I'm currently invoking spamd as follows:

/usr/local/bin/spamd -d -c -u spamd -r ${PIDFILE}

And I have the following in my local.cf:

use_bayes               1
auto_learn              1
bayes_path              /etc/mail/spamassassin/bayes
bayes_file_mode         0666

where both the bayes_path directory, and the spamd home directory (it's parent), are owned by spamd, and world writeable, at this point, for good measure.

(Note, however, that /etc/mail/spamassassin is a symlink to the actual home directory.)

I've tried creating the bayes_msgcount, bayes_seen and bayes_toks files (empty), [owned by spamd and file modes 0666]. But they remain empty, and autolearn=no remains in the header.

spamc runs under sa-exim, under an exim userid. Since spamd is not running as root, I expect this should make the spamc uid irrelevant.

Any ideas as to what I'm doing wrong?

Thanks,

Jonathan




------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to