ietf-smtp
[Top] [All Lists]

RFC 5321 4.4 Received BNF

2008-10-22 05:42:45

Hi,

Below syntax seems to be obsolete for me:

RFC 5321 4.4
   From-domain     = "FROM" FWS Extended-Domain
   By-domain       = CFWS "BY" FWS Extended-Domain
Extended-Domain = Domain / ( Domain FWS "(" TCP-info ")" ) / ( address-literal FWS "(" TCP-info ")" )
   TCP-info        = address-literal / ( Domain FWS address-literal )

How TCP-info parsed ?
The problem is if no TCP-info prsesnet and CFWS between By-domain contains comment.

For example:
Received: from domain.com (host.domain.com 10.0.0.1) by ... - contains domain Received: from domain.com (this is comment text) by ... - contains comment and not optional TCP-info

Do i miss something or in real-life you can't be sure if TCP-info or comment was supplied ? (Just guessing if commect = address-literal or comment argument2 = address-literal is just not best option)

Any comments are welcome.

Thanks,

<Prev in Thread] Current Thread [Next in Thread>