[Exim] Bogofilter and Exim-4, trashing spam at server level

Top Page
Delete this message
Reply to this message
Author: John Masinter
Date:  
To: exim-users
Subject: [Exim] Bogofilter and Exim-4, trashing spam at server level
Can anyone propose a solution or make a suggestion that would allow
a router to look at the X-Bogosity header when the bogofilter pipe
_returns_, so that I could transport "Yes" messages differently?

Any ideas would be appreciated. My failed attempt at this is
detailed below.

THANKS!!! :-)

P.S. Please 'CC me on reply as I am not on the exim users list.

-----
I previously wrote a little guide about my experience in getting
bogofilter working with Exim 4. It works great by adding the
X-Bogosity header which allows users to filter in the mail client.
Here's that original message as FYI:
http://groups.yahoo.com/group/exim-users/message/45078

Now I want to trash messages indicated by bogofilter at the
server level from within my main Exim configuration. I posted
previously on this with a config that was not working:
http://groups.yahoo.com/group/exim-users/message/45079

I did a debug Exim run using this config and a known-spam message
to produce this output file: http://totalb.com/tmp/exim_spam.txt
As I look closely, it appears that Exim pre-routes the final
delivery, before sending the message out to the pipe. (?)