Jason McCormick wrote:
>   I just upgraded to 2.55 and followed the directions for changing
> local.cf (allow_user_rules 1) to allow the user_prefs file to be read
> from ~/.spamassassin however I'm still not seeing spamd reading this
> file.  I just installed spamc to run as a filter in postfix and call
> spamd which is running as the user 'filter'.  Is there some sort of
> special permissions that spamc/spamd need to read the user_prefs file
> in ~/.spamassassin?  I tried running spamd as root and it didn't seem
> to matter.

In order to get spamd/spamc to use per-user prefs in ~/.spamassassin,
you have two requirements:

1) spamd must run as root, otherwise it can't fork and drop priviledges
to the user in question.  Among other things, this lets it create the
~/.spamassassin directory if it doesn't exist.  You *may* be able to get
away with running spamd as a non-root user, so long as you make sure all
users have ~/.spamassassin.  Personally I wouldn't count on it.

2) you must call spamc with the -u parameter, in order to tell spamd
which user to load preferences for when it forks.

This applies no matter where you're calling spamc.

-kgd
-- 
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to