On 11-10-16 12:16 PM, Christian Grunfeld wrote:
> 
> You should have spamd running as root,

But I do that already.  That is what is causing the problem with the new
switch (--virtual-config-dir=...):

spamd: cannot use --virtual-config-dir without -u

> then it can setuid to the
> calling spamc uid which must be the user you want (%l).

Right.  All of that is in place currently with the existing
~/.spamassassin scheme.  That all works.

> So you must
> call spamc with the -u modifier instead of spamd !

I don't call spamd from the deliver end.  Each user has a .procmailrc
which pipes the mail through "spamc" so spamc is already being called by
the recipients effective user-ID.

> Another way is to have user_prefs and/or bayes in SQL.

Indeed, however that involves a user [re-]education.  I want to effect
the current user interaction (i.e. using ~/.spamassassin) transparently
to the users.

b.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to