9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: neitzel@gaertner.de (Martin Neitzel)
To: 9fans@cse.psu.edu
Subject: Re: [9fans] rewriting From:
Date: Fri,  4 Apr 2003 13:25:49 +0000	[thread overview]
Message-ID: <HCs2zs.8rH@gaertner.de> (raw)
In-Reply-To: <955b04dd781fc8ef726c1f33aef706db@plan9.bell-labs.com>

DP> I've noticed over the years that if the domain name in a From: address has
DP> a CNAME, then it gets rewritten by most sendmails.  Anyone know if there
DP> is an RFC that covers the subject?

I'm too lazy to dig through the new versions (e.g. 2821) but
these venerable ones should be good enough:  rfc 821 + 1123.

RFC 821 "SMTP"
	3.7, "Domain Names":
	Whenever domain names are used in SMTP only the official names are
	used, the use of nicknames or aliases is not allowed.

RFC 1123 "Requirements for Internet Hosts" aka STD0003:
	5.2.2  Canonicalization   [...]
	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.

They refer, stricly speaking, to the envelope adresses, but this is of
course tightly coupled to header addresses, too.  (Tightly enough to
warrant header rewritings as soon as possible, IMHO).

Closely related:  MXs may not point to CNAMEs, only canonical names.
(Should be in the DNS RFC.)

					Hope this helps, Martin


  parent reply	other threads:[~2003-04-04 13:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-03 16:03 David Presotto
2003-04-03 15:55 ` Gabriel Diaz Lopez de la Llave
2003-04-03 17:07   ` David Presotto
2003-04-03 17:09   ` Lyndon Nerenberg {VE6BBM}
2003-04-03 22:08     ` Geoff Collyer
2003-04-03 16:52 ` Lyndon Nerenberg {VE6BBM}
2003-04-04 13:25 ` Martin Neitzel [this message]
2003-04-04 14:01   ` David Presotto
2003-04-04 14:10     ` Lucio De Re
2003-04-04 14:03   ` David Presotto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=HCs2zs.8rH@gaertner.de \
    --to=neitzel@gaertner.de \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).