Mailing List Archive

[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@exim.org
ReportedBy: daniel@roe.ch
CC: exim-dev@exim.org


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@example.org
SRS=<SRS0=pXxL.H=36=example.org=wega@example.com>
P=<SRS0=pXxL.H=36=example.org=wega@example.com>
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@example.com".

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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##