Question about per-user SpamAssassin preferences

Started by rtsit, September 26, 2004, 10:33:12 PM

Previous topic - Next topic

rtsit

.
As per the Toaster FAQ about per-user SpamAssassin preferences, I went to http://eu.spamassassin.org/full/2.6x/dist/sql/README" target="_blank">http://eu.spamassassin.org/full/2.6x/dist/sql/README and followed all of the instructions.

The part I'm stuck at is here:

Quote:

Note that you must be
running spamc/spamd in order for this to work, and the current username must
be passed to spamd.  This can be done from spamc using the following
.procmailrc recipe:

 :0fw
 | /usr/local/bin/spamc -f

(watch out; spamc could be installed as /usr/bin/spamc instead.)
If you are using this from /etc/procmailrc, you must include DROPPRIVS=yes
before spamc.  An example /etc/procmailrc:

 DROPPRIVS=yes

 :0fw
 | /usr/local/bin/spamc -f

Also note that spamd may need the "-q" switch so it knows to look up users in
the SQL table instead of /etc/passwd.  See "man spamd".



I searched all over for a .procmailrc file, but I don't see one, and I don't think the Toaster makes use of one.

If anyone can recommend something for me to get over this hurdle, please let me know.  I have no idea how to pass "the current username to spamd" as a result.
.