[exim-dev] [Bug 785] New: H= parsing broken for some envelop…

Top Page
Delete this message
Reply to this message
Author: Daniel Roethlisberger
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 785] H= parsing broken for some envelope addresses, [exim-dev] [Bug 785] H= parsing broken for some envelope addresses, [exim-dev] [Bug 785] H= parsing broken for some envelope addresses, [exim-dev] [Bug 785] H= parsing broken for some envelope addresses
Subject: [exim-dev] [Bug 785] New: H= parsing broken for some envelope addresses
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=785
           Summary: H= parsing broken for some envelope addresses
           Product: Exim
           Version: 4.69
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: low
         Component: Eximstats
        AssignedTo: nigel@???
        ReportedBy: daniel@???
                CC: exim-dev@???



Created an attachment (id=288)
--> (http://bugs.exim.org/attachment.cgi?id=288)
Patch to eximstats-1.59 fixing the H= parsing

Attached a patch against eximstats 1.59 to fix the wrong parsing
of addresses containing the sequence: non-word-char "H=", such as
this mainlog sample (domains and IP addresses obscured, line
breaks introduced):

    2008-11-23 22:39:02 1L4MfH-000NpZ-Fg => puffina@???
        SRS=<SRS0=pXxL.H=36=example.org=wega@???>
        P=<SRS0=pXxL.H=36=example.org=wega@???>
        R=dnslookup T=remote_smtp S=6361 H=spamkiller.example.org
        [2001:1234:dead::2] X=TLSv1:DHE-RSA-AES256-SHA:256 QT=15s


Note the ".H=" sequence in the envelope sender address, which
causes the host to be "36=example.org=wega@???".

Please consider to apply the attached patch, unless it breaks
something else which I haven't considered.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email