I have a couple of questions about setting up the spamassassin module
from Gordon Messmer's pythonfilter to work with Courier.

The config in /etc/pythonfilter-modules.conf for spamassassin is:

[spamassassin.py]
spamcPath = '/usr/bin/spamc'
maxMsgSize = 512000
username = 'spamuser'
rejectScore = 10

I'm using a MySQL database for spamassassin, which contains a userpref
table.  Can I assume that whatever the "username" is in this config is
passed as a -u option to spamc and should correspond to a username in
the userpref table on the spamd server? I've seen some discussion
indicating that this should be set to "root", but there's no username
"root" in the userpref table.  Spamassassin preferences are indexed by
email address in our virtual mail setup.

Second question: Spamassassin recognizes the value of the "value" field
in the userpref table corresponding to a preference field value of
"required_score" for a username passed to spamd as the reject score for
that username.  How does this relate to the "rejectScore" configured in
pythonfilter-modules.conf?  Which value takes precedence?

We could probably do with a bit more explanation in
<https://pypi.python.org/pypi/courier-pythonfilter> (and in the package
README) regarding the necessary setup for using pythonfilter to
prefilter email using spamassassin.

-- 
Lindsay Haisley       | "UNIX is user-friendly, it just
FMP Computer Services |       chooses its friends."
512-259-1190          |          -- Andreas Bogk
http://www.fmp.com    |


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to