On Tue, 11 Jul 2006, Jan-Pieter Cornet wrote:

So, based on this latter paragraph, it is entirely OK to reject
after "EHLO 127.0.0.1", since that is not a properly formatted EHLO
argument. RFC821 has similar restrictions on the HELO argument,
which should be a "domain" (no IP allowed).

RFC821 is funny, because it allows this:


[1.2.3.4].[1.2.3.6].#123445.DummDiDumm

relevant EBNF:

            <domain> ::=  <element> | <element> "." <domain>

            <element> ::= <name> | "#" <number> | "[" <dotnum> "]"

            <dotnum> ::= <snum> "." <snum> "." <snum> "." <snum>

            <number> ::= <d> | <d> <number>

            <snum> ::= one, two, or three digits representing a decimal
                      integer value in the range 0 through 255


EHLO's argument is defined more restrictive.

BTW: That somebody knows what the "#" <number>  element is used for?

Bye,

--
Steffen Kaiser
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to