https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6500

           Summary: clear_originating_ip_headers seems to be broken
           Product: Spamassassin
           Version: 3.3.1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=4811)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4811)
Only convert configured originating_ip headers to synthetic Received headers

It seems the clear_originating_ip_headers config option seems to be broken.

The four default originating_ip_headers (X-Yahoo-Post-IP, X-Originating-IP,
X-Apparently-From, X-SenderIP) are always converted into synthetic Received
headers, even if the list of originating ip headers is cleared (or modified)
with the clear_originating_ip_headers and/or originating_ip_headers options.

This happens in Mail/SpamAssassin/Message/Metadata/Received.pm. The attached
patch changes it so only the headers that are configured as
originating_ip_headers are converted into synthetic Received headers.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to