On Fri, Mar 28, 2008 at 02:22:53AM -0400, Thomas Meggs wrote:

> spamd is being launched as follows:
> 
> /usr/sbin/spamd --user-config
> --virtual-config-dir=/home/%l/.spamassassin --create-prefs
> --max-children 5 -u spamd --helper-home-dir -d
> --pidfile=/var/run/spamd.pid
> 
> Regardless of spamc username (spamc -u ${USERNAME}) spamd always
> attempts to pull configs from /home/spamassassin/.spamassassin.  As such, user
> level prefs are ignored.  This is via postfix maildrop or just from the 
> cmdline
> as a user (not spamd).  From my mail.log:
> 
> Mar 28 01:44:12 SERVER spamd[14860]: locker: safe_lock: created 
> /home/spamassassin/.spamassassin/bayes.lock.SERVER.domain.14860
> Mar 28 01:44:12 SERVER spamd[14860]: locker: safe_lock: trying to get lock on 
> /home/spamassassin/.spamassassin/bayes with 0 retries
> Mar 28 01:44:12 SERVER spamd[14860]: locker: safe_lock: link to 
> /home/spamassassin/.spamassassin/bayes.lock: link ok
> 
> Beyond this, even with a /etc/spamassassin/local.cf setting of enabling
> bayes, spamd still doesn't seem to be applying Bayesian filtering based
> off of the "global" spamassassin configs.  Of course, processing through
> spamassassin instead of spamc pulls Bayes filtering without issue.

Hi,

This is quite possibly too late a reply, but my reading of the spamd
manpage suggests that --virtual-config-dir and spamc'd -u option are
mutually exclusive. If you try without that option, do you get the
desired behaviour?

Unless you disagree, I will close this bug.

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to