On 12/21/08, Lindsay Haisley <[email protected]> wrote:
> On Sun, 2008-12-21 at 13:25 -0800, Gordon Messmer wrote:
>> Lindsay Haisley wrote:
>> > It looks as if Gordon Messmer has written a very nice Python-based API
>> > for courierfilter and I'm going to give it a shot at the job.  I'm going
>> > to have to write a new module for it, but the documentation on it is
>> > excellent and it shouldn't be too hard.  I'm quite fond of Python as a
>> > programming language :-)
>>
>> Glad to hear it.  Let me know if I can offer any advice.  There are
>> modules for clamav and spamassassin which you can use as a base for
>> local customizations.
>
> Actually, it looks as if I can do a slight mod to the spamassassin
> module and conditionally disable rewriting of the message in courier.
> All I want to do in courierfilter is set a maximum for the SA spam score
> above which the email will be rejected at the SMTP front door.  If it
> passes, it will be re-submitted for full processing to SpamAssassin
> later, in the delivery phase, with per-user settings to SA in effect.

In /etc/pythonfilter-modules.conf you can set rejectScore.

jerry

-- 
To be named later.

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to