Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: is not a "legal" mail address (Re: [Caml-list] Re: Still problems with the main ocaml web page)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-03-31 (13:05)
From: Eijiro Sumii <eijiro_sumii@a...>
Subject: Re: is not a "legal" mail address
From: Francis Dupont <>
> => aliases (CNAME left parts) are legal in mail addresses.

But RFC 1123 says as below, for example...?  For more details, see

for instance.  In short, it does no "harm" in _most_ environments, but
affects many systems at least.  (I wonder what Dmitry meant by
" is not routable"...)

5.2.2  Canonicalization: RFC-821 Section 3.1

         The domain names that a Sender-SMTP sends in MAIL and RCPT
         commands MUST have been  "canonicalized," i.e., they must be
         fully-qualified principal names or domain literals, not
         nicknames or domain abbreviations.  A canonicalized name either
         identifies a host directly or is an MX name; it cannot be a

> => it rewrites it because it checkes it and gets the canonical name as
> a side effect, not because aliases are not legal...

As explained above, they were illegal in MAIL and RCPT commands of
SMTP, at least.  Of course, you could argue that bodies (From: and
To:) may be different from envelopes (MAIL and RCPT), though.

The bottom line is that it is still a bad practice to use aliases in
mail address domains for these reasons.  Instead, we can just use A
records in most cases.

> PS: alias is a DNS concept, SMTP requires valid names (aliases or canonical
> names) with a restriction in the character set (only digits, letters and
> the character "-" not in the first position) for labels (names are made up
> by labels separated by dots). Note that SMTP does not require the name
> exists...


Best regards,