Re: domain ABNF

Tony Finch <dot@dotat.at> Sun, 23 August 2009 00:14 UTC

Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7N0EPPv090101 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 22 Aug 2009 17:14:26 -0700 (MST) (envelope-from owner-ietf-smtp@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7N0EP1h090100; Sat, 22 Aug 2009 17:14:25 -0700 (MST) (envelope-from owner-ietf-smtp@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smtp@mail.imc.org using -f
Received: from ppsw-7.csi.cam.ac.uk (ppsw-7.csi.cam.ac.uk [131.111.8.137]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7N0EKo7090093 for <ietf-smtp@imc.org>; Sat, 22 Aug 2009 17:14:25 -0700 (MST) (envelope-from fanf2@hermes.cam.ac.uk)
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-2.csi.cam.ac.uk ([131.111.8.54]:52694) by ppsw-7.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:25) with esmtpa (EXTERNAL:fanf2) id 1Mf0iu-0001kD-PO (Exim 4.70) (return-path <fanf2@hermes.cam.ac.uk>); Sun, 23 Aug 2009 01:14:16 +0100
Received: from fanf2 (helo=localhost) by hermes-2.csi.cam.ac.uk (hermes.cam.ac.uk) with local-esmtp id 1Mf0iu-0002MH-Rd (Exim 4.67) (return-path <fanf2@hermes.cam.ac.uk>); Sun, 23 Aug 2009 01:14:16 +0100
Date: Sun, 23 Aug 2009 01:14:16 +0100
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-2.csi.cam.ac.uk
To: Hector Santos <hsantos@santronics.com>
cc: ietf-smtp@imc.org
Subject: Re: domain ABNF
In-Reply-To: <4A8BB5F0.3080700@santronics.com>
Message-ID: <alpine.LSU.2.00.0908230105560.19442@hermes-2.csi.cam.ac.uk>
References: <4A8BB5F0.3080700@santronics.com>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-smtp@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smtp/mail-archive/>
List-ID: <ietf-smtp.imc.org>
List-Unsubscribe: <mailto:ietf-smtp-request@imc.org?body=unsubscribe>

On Wed, 19 Aug 2009, Hector Santos wrote:
>
> Just a confirmation, is a domain allowed to have single and double quotes?

Not in SMTP.

   Domain         = sub-domain *("." sub-domain)
   sub-domain     = Let-dig [Ldh-str]
   Let-dig        = ALPHA / DIGIT
   Ldh-str        = *( ALPHA / DIGIT / "-" ) Let-dig

The 822/2822/5322 syntax is more liberal. However double quotes are still
not permitted except in domain literals.

In email the ' character is used as an apostrophe not as a quotation mark
(except by Microsoft).

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.