Bowie Bailey wrote:
Greg Fischer wrote:
  
I have the Courier::Filter and it's Spamassassin modules installed and
working as a courier filter (in /etc/courier/filters).   Only problem
I have is, it always rejects messages on matches.  I really don't want
to reject, just tag the header and move on.

I've been at this for hours, and my eyes are crossing. So, have to
ask.... how do I tell this to NOT reject?  Just tag and pass on as
usual.  (Same with ClamAVd module? I would prefer to just clean the
email and notify the recipient.)
    

The courier filter protocol is unable to change the message.  You can
only accept or reject.  If you want to use SpamAssassin to tag the
mail, run spamd and call spamc from Maildrop.

If you also want to be able to reject high-scoring spam, the only
option at this time is to call SA twice for each message.  Once from a
courier filter for rejection, and once from Maildrop for tagging
Apparently this has changed, at least for pythonfilter.  Gordon has implemented the ability to modify the message itself.  See the 0.9 ChangeLog here:

http://phantom.dragonsdawn.net/~gordon/courier-patches/courier-pythonfilter/courier-pythonfilter-0.9/ChangeLog

I haven't actually played with this at all myself though.  My advice to the Original Poster, if he only wants to modify headers not reject messages is to use maildrop at local delivery time, not SMTP time.

Jay
begin:vcard
fn:Jay Lee
n:Lee;Jay
org:Philadelphia Biblical University;Information Technology Department
email;internet:[EMAIL PROTECTED]
title:Network / Systems Administrator
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to