🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #120

Re: SMTP/MX intricacies [ot?]

#120
From: Richard Clayton
Date: Mon, 21 Jun 1999 00:00
53 lines
2467 bytes
In article <929993490.18317.0.nnrp-03.d4e48b20@news.demon.co.uk>,
Alisdair Wren <alisdair@nospam.demon.co.uk> writes

>This may be slightly off-topic, but it is for messing around with IP 
>development.
>
>I was wondering about the specifics of the SMTP standards.

then you should look at the DRUMS drafts, which will change this area

>From RFC 1123:
>
>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
>       CNAME.
>
>Now from this, it is implied that a setup like:
>
>   blah.foo.com         MX      smtpserver.foo.com
>   smtpserver.foo.com   CNAME   superserver.foo.com
>   superserver.foo.com  A       123.124.125.126
>
>Would be invalid,

it is certainly a bad idea -- mailers tend to look themselves up using
canonical names (look in the Cricket book!)

I don't think that SMTP specs can make DNS records invalid per se

> however, when I read it I see it to mean that in the 
>RCPT and MAIL lines, you can't have CNAMEs.

that is the current position

>  So:
>
>   MAIL TO:<user@blah.foo.com> is OK but,

from the DNS provided - yes, but if should be delivered to
123.124.125.126

>   MAIL TO:<user@smtpserver.foo.com> would not be.

it will work (see the caveat above) and will be legal soon(ish)

-- 
richard @ turnpike . com                         "Nothing seems the same
                          Still you never see the change from day to day
                                And no-one notices the customs slip away"
Technical Details
Message-ID: <yvgP9XCCrpb3EA5d@turnpike.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <929993490.18317.0.nnrp-03.d4e48b20@news.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,f1147cb918295e10,start
X-Google-Attributes: gid10bb05,public
From: Richard Clayton <richard@turnpike.com>
Subject: Re: SMTP/MX intricacies [ot?]
Date: 1999/06/21
Message-ID: <yvgP9XCCrpb3EA5d@turnpike.com>
X-Deja-AN: 492231125
X-NNTP-Posting-Host: rnc-portable.turnpike.com:194.70.55.161
References: <929993490.18317.0.nnrp-03.d4e48b20@news.demon.co.uk>
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 929995761 nnrp-06:13703 NO-IDENT rnc-portable.turnpike.com:194.70.55.161
Organization: Turnpike Ltd
MIME-Version: 1.0
Newsgroups: demon.ip.developers