On 03/05/2015 02:16 PM, Lindsay Haisley wrote: > > 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?
Yes. Otherwise spamc will use whatever username belongs to the UID under which pythonfilter is running. > 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? The "value/required_score" determines whether or not the message is modified and marked [SPAM]. If rejectScore is not set, then messages which are spam, as determined by "value/required_score" are rejected. If spamassassin is configured to not modify messages, then the same rule applies. If rejectScore is set and spamassassin adds the X-Spam-Status header, then messages will be refused only if the "score" in the header is a larger value than rejectScore. ------------------------------------------------------------------------------ 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 courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users