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?