9 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier::Filter a...
FromSent OnAttachments
Greg FischerMay 25, 2006 3:54 am 
ecu...@encontacto.netMay 25, 2006 4:03 am 
Bowie BaileyMay 25, 2006 6:27 am 
Jay LeeMay 25, 2006 7:10 am 
Bowie BaileyMay 25, 2006 7:19 am 
Greg FischerMay 25, 2006 8:51 am 
Gordon MessmerMay 25, 2006 9:27 am 
Bowie BaileyMay 25, 2006 10:22 am 
Gordon MessmerMay 25, 2006 2:36 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Courier::Filter and Mail::SpamAssassinActions...
From:Jay Lee (jl@pbu.edu)
Date:May 25, 2006 7:10:38 am
List:net.sourceforge.lists.courier-users

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