« Return to Thread: Parsing Received Headers

Re: Parsing Received Headers

by John Rudd :: Rate this Message:

Reply to Author | View in Thread

Matus UHLAR - fantomas wrote:

>> Bret Miller wrote:
>>> Received: from [206.74.184.2] (HELO [206.74.184.2])
>>> by mail.wcg.org (CommuniGate Pro SMTP 5.1.11)
>>> ...
>>> Meaning that there was no RDNS for 206.74.184.2 and when it said helo, it
>>> said "HELO [206.74.184.2]". However, SA is not parsing it that way. So, can
>>> anyone tell me how to write the received header so SA understands it?
>
> On 01.09.07 13:41, Bob Proulx wrote:
>> Hmm...  I think if you replace "HELO" with "unknown" that it might
>> parse.  I did not look at the SA parsing rules but a typical MTA would
>> have placed "unknown" there instead of the HELO.
>
> as far as I understand it, the string in parentheses is the helo string and
> that's why is HELO there. Typical MTA places helo string before parentheses
> and RDNS and/or IP between them. Seems this is the opposite case.
>

That's correct.  CommuniGate puts the DNS based information before the
parentheses, and puts non-DNS based information inside the parentheses
(for authenticated email, it puts the authenticated user account instead
of the HELO info, for non-authenticated it puts the HELO string, but
there's also a third case which I'm not recalling at the moment).

 « Return to Thread: Parsing Received Headers