Article View: news.software.readers
Article #72131Re: GNKSA questions (Noworyta News Reader)
From: Gary E. Ansok
Date: Fri, 16 Feb 2001 00:40
Date: Fri, 16 Feb 2001 00:40
38 lines
2588 bytes
2588 bytes
In article <1eovsp1.1cdp04r199mvfzN%planb@newsreaders.com>,
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).
"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."
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.
Gary Ansok
--
Any attempt to brew coffee with a teapot should result in the error code
"418 I'm a teapot". The resulting entity body MAY be short and stout.
-- RFC 2324, Hyper Text Coffee Pot Control Protocol (HTCPCP)/1.0
Technical Details
Message-ID:
<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-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!howland.erols.net!vixen.cso.uiuc.edu!uchinews!nntp-server.caltech.edu!ansokReferences:
<96h44a$l0j9k$1@ID-70408.news.dfncis.de> <1eovsp1.1cdp04r199mvfzN%planb@newsreaders.com>Show Full Headers
Complete Article Headers
Message-ID: <96hst3$488@gap.cco.caltech.edu> Subject: Re: GNKSA questions (Noworyta News Reader) Date: Fri, 16 Feb 2001 00:40:03 +0000 From: ansok@alumni.caltech.edu (Gary E. Ansok) References: <96h44a$l0j9k$1@ID-70408.news.dfncis.de> <1eovsp1.1cdp04r199mvfzN%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-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!howland.erols.net!vixen.cso.uiuc.edu!uchinews!nntp-server.caltech.edu!ansok Newsgroups: news.software.readers Organization: Caltech Alumni Association Lines: 37 NNTP-Posting-Host: alumnus.caltech.edu