🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.headers
Article #30

Re: The need for specifying the OFFICIAL domain name in a header

#30
From: Kyle Jones
Date: Fri, 10 Apr 1992 03:16
34 lines
2079 bytes
utterbac@husc10.harvard.edu (Brian (Margot?) Utterback) writes:
 > Recently, I contacted a workstation vendor about the mail system
 > that comes with the workstation.  The operating system is based
 > on System V release 4.  The mail system failed when the host portion
 > of an address was an alias or nickname.  The response was that 
 > RFC821 and RFC822 specify that the address must be the official
 > domain name and that the entries in the host file and any 
 > cname records in the DNS are irrelevent.
 > 
 > This seems a little farfetched to me.  First, the rfcs in theis
 > case seem to be irrelevent.  Don't they only specify what would
 > be in the headers, not the address given to the mailer?

RFC 821 (the SMTP protocol spec) definitely specifies addresses
that are to be given to the mailer.

Also, specific RFC 822 headers are used to generate reply
addresses, and these addresses are the ones given to the mailer.
So the addresses in the headers must be acceptable to the
transport system.

 > Second, why limit the address even in the header? You get the
 > host portion, ask the DNS what the MX record is.  It will
 > respond with the IP address and the canonical name.  Bingo,
 > you have the official name, just use that in the rest of the
 > processing.

Not quite.  If CNAME's were allowed for mail then you'd have to
do an extra lookup.  One lookup to map the aliases to the
canonical name, and another lookup for any MX records for the
canonical name.

For mail, MXs are the way to alias host names.  For everything
else use CNAMEs.  If you need both, then use both.
Technical Details
Message-ID: <1992Apr10.031629.26764@uunet.uu.net>
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet!kyle
References: <1992Apr8.164249.10851@husc3.harvard.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.headers
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet!kyle
From: kyle@uunet.uu.net (Kyle Jones)
Subject: Re: The need for specifying the OFFICIAL domain name in a header
Message-ID: <1992Apr10.031629.26764@uunet.uu.net>
Sender: usenet@uunet.uu.net (UseNet News)
Nntp-Posting-Host: wendy-fate.uu.net
Organization: UUNET Technologies, Inc
References: <1992Apr8.164249.10851@husc3.harvard.edu>
Date: Fri, 10 Apr 1992 03:16:29 GMT
Lines: 35