I have an Ubuntu (12.10) server running postfix and SpamAssassin. I've set up spampd following these directions on the SpamAssassin wiki:
http://wiki.apache.org/spamassassin/IntegratePostfixViaSpampd
However, settings ~/.spamassassin/user_prefs are being ignored.
What do I need to do to have spampd/SpamAssassin read/use per-user rules?
Best Answer
I'm still not 100% clear on whether spampd is calling spamassassin or spamc, if it is calling spamc you need to set
allow_user_rules
to 1, if not, it should look for the user_prefs in the directory of the user calling spamassassin, and that directory only.I don't think you will be able to use individual user_prefs from in spampd, they specifically mention that per-user whitelists are not available. They also mention that per-user preferences are a To-Do..
From the notes on switches
From the To-Do section on github
I'm guessing they assume the users will have .procmail filters.