ietf-smtp
[Top] [All Lists]

Re: RFC2821, section 4.1.1.1 and HELO/EHLO

2004-01-02 15:58:30
On Fri, 02 Jan 2004 17:41:26 EST, you said:
The text, as written, implies that the ABNF should have been

      Domain = (sub-domain 1*("." sub-domain)) /
        ( address-literal [ string ] )

Yes, that's my reading as well.

But there is no need for any of that qualifying nonsense with a 
domain name.  One might imagine passwords, etc., out there, but 
the design model says that those are expected to go in a 
separate command, on MAIL FROM, etc., after the server 
authorizes (or requires) sending them.

Is that what is wanted, or should the ABNF be

       Domain = ( (sub-domain 1*("." sub-domain)) /
          address-literal ) [ string ]

Remember that the syntax has to work for plain old HELO as well,
which was never intended to have additional parameters.  Also, as
pointed out, even with EHLO, you can't send anything additional
until after you've seen a 220 that says it's OK.  As such, the only
case where 2821 suggests a [string] is needed is for hints for an
address literal, so I'd prefer the first variant you listed.

Attachment: pgpHzYIriOpv5.pgp
Description: PGP signature