Article View: news.software.readers
Article #72138Re: GNKSA questions (Noworyta News Reader)
From: J.B Moreno
Date: Fri, 16 Feb 2001 04:21
Date: Fri, 16 Feb 2001 04:21
50 lines
3282 bytes
3282 bytes
Gary E. Ansok <ansok@alumni.caltech.edu> wrote: > J.B Moreno <planb@newsreaders.com> wrote: > >Filip Noworyta <filnow@kki.net.pl> wrote: > >> "From: " header has two parts. The first part is a user name, the > >> second his (or her? how is it in English?) e-mail. As in the example: > >> > >> admin <admin@localhost> > >> --1-- --------2-------- > >> > >> Both parts are entered seperately. Am I right that the only thing to > >> do is to check for '@' in the second part? As you can see in the > >> example above, the '.' is not needed. > > > >No, you need to see that the second part meets the requirement for a > >fully qualified domain (which means it should contain a top level domain > >name, the minimum test then is one character after the @ which isn't a > >period, a period followed by at least one character not a period and the > >last character not a period, no period to follow another and no spaces > >or other disallowed characters). > > Is a period strictly required in the hostname? I remember reading that > a top-level domain can be a valid hostname by itself (and as far as I > can tell from RFC 822, that's correct). Nope, a period is required. > "postmaster@cx" was given as an example of such an address; I haven't > tried it myself, but there are MX records for the host "cx." From the cx home page, General Inquires info@dot.cx Policy Inquires policy@dot.cx Legal Inquires legal@dot.cx A fully qualified domain name requires both a domain and a tld. > Certainly, such addresses would be extremely rare, but they do exist. > Also, what is allowed as the user name is more complicated than you'd > think. I've seen addresses like <"fred&barney"@some.host>, but mostly > just to prove that such addresses can exist. Yep. And if he wants to write an 822 parser, that's fine. OTOH, it probably won't cost him one user to do it the simple way and save him lots of time trying to write the parser. -- JBM "Moebius strippers only show you their back side." -- Unknown
Technical Details
Message-ID:
<1eow8aw.1t2lm5hj8uz6yN%planb@newsreaders.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!sn-xit-01!supernews.com!newsfeed.stanford.edu!news.isc.org!news.gnac.net!uunet!sac.uu.net!ash.uu.net!dca.uu.net!ralph.vnet.net!planbReferences:
<96h44a$l0j9k$1@ID-70408.news.dfncis.de> <1eovsp1.1cdp04r199mvfzN%planb@newsreaders.com> <96hst3$488@gap.cco.caltech.edu>Show Full Headers
Complete Article Headers
Message-ID: <1eow8aw.1t2lm5hj8uz6yN%planb@newsreaders.com> Subject: Re: GNKSA questions (Noworyta News Reader) Date: Thu, 15 Feb 2001 23:21:06 -0500 From: planb@newsreaders.com (J.B Moreno) References: <96h44a$l0j9k$1@ID-70408.news.dfncis.de> <1eovsp1.1cdp04r199mvfzN%planb@newsreaders.com> <96hst3$488@gap.cco.caltech.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!sn-xit-01!supernews.com!newsfeed.stanford.edu!news.isc.org!news.gnac.net!uunet!sac.uu.net!ash.uu.net!dca.uu.net!ralph.vnet.net!planb Newsgroups: news.software.readers Organization: NetNews BOFH wannabe X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h Mail-Copies-To: nobody X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1> User-Agent: MacSOUP/2.4.4 Lines: 49 NNTP-Posting-Host: 166.82.184.126 X-Trace: ralph.vnet.net 982297255 166.82.184.126 (Thu, 15 Feb 2001 23:20:55 EST) NNTP-Posting-Date: Thu, 15 Feb 2001 23:20:55 EST