https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7500

RW <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from RW <[email protected]> ---
(In reply to Adrian Pepper from comment #0)
> Created attachment 5479 [details]
> As an attachment I have two email messages, both with anonymized hostnames,
> first with IPV6 link-local in headers, second same but with those IPV6
> addresses replaced with IPV4
> 
> In spamassassin 3.4.1-3 to 3.4.1-7 (and before and PROBABLY AFTER)
> /usr/share/perl5/Mail/SpamAssassin/Plugin/RelayEval.pm
> seems to deliberately sabotage any potential handling of IPV6 link-local
> addresses.

This is the code for the rule RCVD_HELO_IP_MISMATCH, it has nothing to do with
parsing Received headers.

> 
> This, or perhaps similar code elsewhere causes headers such as the
> following to get an effective 7 spamassassin point penalty.  (2 to 3
> for RDNS_NONE, and 5 for not matching ALL_TRUSTED).

> =============================================================================
> Received: from connhm01.connect.uwaterloo.ca ([fe80::d4bf:9432:cac5:5f3b]) by
>   connhm01.connect.uwaterloo.ca ([fe80::d4bf:9432:cac5:5f3b%19]) with mapi id
>   15.01.1034.032; Fri, 27 Oct 2017 13:06:52 -0400
> =============================================================================

This is parsed as:

ip=fe80::d4bf:9432:cac5:5f3b rdns= helo=connhm01.connect.uwaterloo.ca by=...

which seems correct to me.  The IP address is correctly parsed and there is no
rDNS recorded in the header.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to