On Tue, 19 Jun 2001 14:42:38 -0600 
Kory Wheatley <[EMAIL PROTECTED]> wrote:

> What are good Spam filters that I can add in Mailman 2.05 In the
> Hold Posts with Headers opiton?

I used to use a filter before the Mailman wrapper which ran rblcheck
against the headers and added a custom X-Header if a match was
found.  I didn't do it in the MTA at the time as I only wanted it
for the one list.

I no longer have that script, but it was based of the following
procmail recipe:

  TCPREMOTEIP=`formail -xReceived|/bin/sed -ne '/\[.*\]/{ s/[^[]*.\([^]]*\)[^$]*/\1/; 
P;}'`
  RBL=`if [ -n "$TCPREMOTEIP" ]; then rblcheck ${TCPREMOTEIP} | /bin/fgrep -v "not RBL 
filtered"; fi`

  :0 fhw
  * ? [ -n "$RBL" ]
  | formail -A"X-Spam-Flags: $RBL"

rblcheck can be found here:

  http://rblcheck.sourceforge.net/

-- 
J C Lawrence                                       [EMAIL PROTECTED]
---------(*)                          http://www.kanga.nu/~claw/
The pressure to survive and rhetoric may make strange bedfellows

------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users

Reply via email to