Bug 6049 - Rule NO_RELAYS fails when Received header only contains IPv6 addresses
Summary: Rule NO_RELAYS fails when Received header only contains IPv6 addresses
Status: RESOLVED WORKSFORME
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (Eval Tests) (show other bugs)
Version: 3.2.5
Hardware: Other All
: P5 normal
Target Milestone: 3.3.0
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-23 05:07 UTC by Patrick Vande Walle
Modified: 2009-08-06 13:17 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Vande Walle 2009-01-23 05:07:13 UTC
The NO_RELAYS rules is triggered when the "Received" headers contain only IPv6 addresses. Real world example below (which obfuscated domain names to protect the innocent).

Received: from annwfn.example.com (annwfn-eth.example.com [IPv6:2001:4bd8:0:104:280:adff:fe74:4c20])
     (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
     (No client certificate requested)
     by boaz.example.org (Postfix) with ESMTPS id 90D649C08C
     for <patrick@example.net>; Fri, 23 Jan 2009 11:10:54 +0100 (CET)
X-SMTP-Sender: IPv6:2001:4bd8:0:666:248:54ff:fe12:ee3f
Received: from belenus.example.com (belenus.example.com [IPv6:2001:4bd8:0:666:248:54ff:fe12:ee3f])
     by annwfn.example.com (8.14.3/8.14.1) with ESMTP id n0NAACZu026603
     for <patrick@example.net>; Fri, 23 Jan 2009 11:10:14 +0100
X-MSA-Host: belenus.example.com
Received: (from xxxxx@localhost)
     by belenus.example.com (8.14.3/8.14.1/Submit) id n0NAAAEE024105;
     Fri, 23 Jan 2009 11:10:10 +0100
From: XXXXXXXXXXXXXXX <XXXXXXX@example.com>
Message-Id: <200901231010.n0NAAAEE024105@belenus.example.com>
To: Whoever <patrick@example.net>
Comment 1 Justin Mason 2009-01-23 09:10:49 UTC
is this fixed in 3.3.0?  I think it may be...
Comment 2 Justin Mason 2009-08-06 13:17:16 UTC
sure is!

: 293...; svn commit -m "bug 6049: IPv6 addresses now recognised in Received headers.  add test case" t.rules
Adding         t.rules/NO_RELAYS
Adding         t.rules/NO_RELAYS/fp_bug6049_ex1
Transmitting file data .
Committed revision 801809.