Hi, I'm trying to use spamd instead of spamassassin for courier-mta with virtual users setup.
Also upgrading from 2.52 to 2.63.


During tests i found that there's a problem with finding .spamassassin directory.

From the log you can see that user_prefs are found in right directory, but bayes files are searched in .spamassassin/.spamassassin

How can I fix it?
Thanks...

spamd invocation:
# spamd -D --configpath=/usr/share/spamassassin.2.63/ --siteconfigpath=/etc/mail/spamassassin --virtual-config-dir=/home/virtual/%d/%l/.spamassassin -x


spamc test:
# echo "From: <[email protected]>\nTo: <[EMAIL PROTECTED]>\nSubject: test\n\n" | spamc -u [EMAIL PROTECTED]


spamd log:
-------------------8<-------------------------
logmsg: connection from localhost.localdomain [127.0.0.1] at port 48158
logmsg: Using default config for [EMAIL PROTECTED]: /home/virtual/kabbalah.com/moshe.gurvich/.spamassassin/user_prefs
debug: user has changed
debug: bayes: 3455 untie-ing
debug: bayes: no dbs present, cannot scan: /home/virtual/kabbalah.com/moshe.gurvich/.spamassassin/.spamassassin/bayes_toks
debug: Score set 1 chosen.
logmsg: Still running as root: user not specified with -u, not found, or set to root. Fall back to nobody.
logmsg: processing message (unknown) for [EMAIL PROTECTED]:99.
debug: mkdir /home/virtual/kabbalah.com/moshe.gurvich/.spamassassin/.spamassassin failed: mkdir /home/virtual/kabbalah.com: Permission denied at /usr/local/ActivePerl-5.8/lib/site_perl/5.8.3/Mail/SpamAssassin.pm line 1279
debug: bayes: no dbs present, cannot scan: /home/virtual/kabbalah.com/moshe.gurvich/.spamassassin/.spamassassin/bayes_toks
-------------------8<-------------------------




Reply via email to