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:Bowie Bailey (Bowi@BUC.com)
Date:May 25, 2006 7:19:40 am
List:net.sourceforge.lists.courier-users

Jay Lee wrote:

Bowie Bailey wrote:

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.

Now that you mention it, I did hear something about this. I haven't been able to find any details on how it works. I just tried a Google search, but I didn't find much besides just the note in the changelogs that it is possible. Is there more information somewhere?