On Thu, 14 Jan 1999, Ben Smithurst wrote:
> Ignoring text in parentheses wouldn't be too good, since Exim
> (to name just one MTA) puts the IP address inside parentheses.
Any MTA which follows the RFC specification for the format of Received:
headers is required to put it in parentheses (i.e. as a comment), as
there's no other place to put it. The draft of the new revised RFC 821
specifies the syntax of the Received: header as
Time-stamp-line = "Received:" FWS Stamp <CRLF>
Stamp = From-domain By-domain Opt-info ";" FWS Daytime
From-domain = "FROM" FWS Extended-Domain CFWS
Extended-Domain = Domain /
( Domain FWS "(" TCP-info ")" ) /
( Address-literal FWS "(" TCP-info ")"
TCP-info = Address-literal / ( Domain FWS
Address-literal )
Note that if a domain name is used, the "TCP-info" (i.e. the IP address)
is now explicitly specified as being in parentheses. The original RFC
821 simply has "Domain" as what can follow "From", but does of course
allow for parenthetical comments anywhere.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***