ietf-smtp
[Top] [All Lists]

2821bis server reply ABNF

2007-04-05 09:48:54

Section 4.2 says:

   In ABNF, server responses are:

   Greeting       = "220 " (Domain / address-literal) [ SP text ] CRLF

   Reply-line     = Reply-code [ SP text ] CRLF

This omits the multiline response cases, and it omits the definition of
Reply-code, so it should be corrected to:

   Greeting       =   "220 " (Domain / address-literal) [ SP text ] CRLF
                  /   "220-" (Domain / address-literal) [ SP text ] CRLF
                   *( "220-" [ text ] CRLF )
                      "220" [ SP text ] CRLF

   Reply-line     = *( Reply-code "-" [ text ] CRLF )
                       Reply-code [ SP text ] CRLF

   Reply-code     = %x31-35 %x30-35 %x30-39

Tony.
-- 
f.a.n.finch  <dot(_at_)dotat(_dot_)at>  http://dotat.at/
HEBRIDES BAILEY: WESTERLY 4 OR 5. MODERATE BECOMING ROUGH. OUTBREAKS OF RAIN
OR DRIZZLE. GOOD, OCCASIONALLY MODERATE OR POOR.