My comment was that whether or not I used the -u option (uid implicit or
explicit), I got invalid behavior (where user configs weren't pulled).  I
have to assume it was some strange underlying behavior which emerged on
Debian for Sparc, the platform in question.  Unfortunately, this machine was
de-commissioned not but 2 weeks ago.  If you happen to provide a Sparc
release in the future, it might be something to check.

2008/11/19 Dominic Hargreaves <[EMAIL PROTECTED]>

> 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/<http://www.larted.org.uk/%7Edom/>
> PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
>

Reply via email to