Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: valid mail address



Reading some old mail . . . 


On Mon, 25 Jan 1999, Chris Sekiya wrote:

> On Mon, 25 Jan 1999, Jim Schweizer wrote:
> 
> > Is is valid to have quotes in an email address?

> I can't find this in the handy web RFC index, but a bit of empirical
> evidence:
> 
> rcpt To: <"chris"@example.com>
> 250 <"chris"@example.com>... Recipient ok
> 
> ... sendmail accepts it, so it may be considered valid.

No RFC at hand, but some info from the bat book, second edition.
Quotation marks surrounding part of an address cause sendmail to regard
that section as one atomic piece during parsing by rulesets:

chris.sekiya@example.com will be tokenized as:

chris    .    sekiya    @    softek    .    co    .    jp

but "chris.sekiya"@example.com will be tokenized as:

"chris.sekiya"    @    softek    .    co    .    jp


When the tokens are reassembled, the quoted string will be regarded by
sendmail as one token with a space in it, rather than two tokens that
will be given a space-replacement character.

For more info, see page 145 and page 778.

This leads to the question, "Is a space legal in an address?"  I don't
think so (anyone got an RFC citation on that?), insofar as I've never
seen one, but sendmail apparently swallows stuff that's in quotation
marks.

Jonathan

-------------------------------------------------------------------
Next Nomikai: March 19 (Fri), 19:30  Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: April 10 (Sat), 12:30   place: Temple Univ.
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links