I can't sem to get spamd to see the bayes database. Spamd runs as root and the
bayes database is in /root/.spamassassin. However when I run spamd --debug it
only seem to look in the temporary directory. sa-learn drops its files in
this directory but spamd can't see them.
spamd --debug says:
debug: Score set 0 chosen.
debug: Preloading modules with HOME=/tmp/spamd-6179-init
debug: ignore: test message to precompile patterns and load modules
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: bayes: no dbs present, cannot scan:
/tmp/spamd-6179-init/.spamassassin/bayes_toks
debug: Score set 1 chosen.
debug: Initialising learner
debug: bayes: no dbs present, cannot scan:
/tmp/spamd-6179-init/.spamassassin/bayes_toks
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!