[imp] spamassassin and blocking lists

George Theall theall at tifaware.com
Mon Nov 1 16:52:04 PST 2004


On Sun, Oct 31, 2004 at 03:31:00PM +1100, Iain Pople wrote:

> Is this a peculiarity of IMP.? Is there some way i can avoid this
> happening?

I consider this a problem with SpamAssassin, specifically the way
Mail::SpamAssassin::Message::Metadata::Received is parsing Received
headers.  You may wish to submit a bug report to have the behaviour
fixed, like what was done for SquirrelMail (see
<http://bugzilla.spamassassin.org/show_bug.cgi?id=3236>).  They can
simply key off the string "IMP" in the Received header to ignore it; eg,

                      ---- snip, snip, snip ----
--- Mail/SpamAssassin/Message/Metadata/Received.pm-orig	2003-12-17 07:08:44.000000000 -0500
+++ Mail/SpamAssassin/Message/Metadata/Received.pm	2004-11-01 19:48:11.000000000 -0500
@@ -401,6 +401,16 @@
       return;
     }
 
+    # ignore IMP injection steps.
+    # from from CPE-203-45-11-59.vic.bigpond.net.au
+    # (CPE-203-45-11-59.vic.bigpond.net.au [203.45.11.59])
+    #  by webmail.brunny.com (IMP) with HTTP
+    # for <iain at localhost>; Sun, 24 Oct 2004 10:21:07 +1000
+    if (/ \(IMP\) with HTTP for /) {
+      dbg ("received-header: ignored IMP injection: $_");
+      return;
+    }
+
     if (/\[XMail /) { # bug 3791
       # Received: from list.brainbuzz.com (63.146.189.86:23198) by mx1.yourtech.net with [XMail 1.20 ESMTP Server] id <S72E> for <jason at ellingson.org> from <bounce-cscommunity-11965901 at list.cramsession.com>; Sat, 18 Sep 2004 23:17:54 -0500
       # Received: from list.brainbuzz.com (63.146.189.86:23198) by mx1.yourtech.net (209.32.147.34:25) with [XMail 1.20 ESMTP Server] id <S72E> for <jason at ellingson.org> from <bounce-cscommunity-11965901 at list.cramsession.com>; Sat, 18 Sep 2004 23:17:54 -0500
                      ---- snip, snip, snip ----

George
-- 
theall at tifaware.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.horde.org/archives/imp/attachments/20041101/9d23fb88/attachment.bin


More information about the imp mailing list