🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #691

Quotes in addresses

#691
From: Josh Sirota
Date: Thu, 21 Feb 1991 22:03
38 lines
1902 bytes
I'm still trying to understand the rules for having double quotes in
addresses.

According to RFC822 (at least as I interpret it), comments are delimited
by *parentheses*, not by double quotes, yet the mush man page (and the
code, in get_name_n_addr()) imply that double quotes are treated just like
parentheses.

Unfortunately, this breaks addresses like
	"jss"@eng.sun.com

Which according to RFC822 is a legitimate address.  Mush just assumes that
the stuff in the quotes is a comment, as though I'd said
	"Josh Sirota" jss@eng.sun.com

Seems to me that either mush should not allow quotes to delimit comments,
or that it should be special cased in the code, such that if there's no
white space immediately after the closing quote, the stuff in the quotes is
*not* considered a comment.

Unfortunately, I'm managing to confuse myself quite easily with trying to
understand the routine get_name_n_addr() at least as far as comments are
concerned.

Could someone please explain what the rules are really supposed to be,
and perhaps how I'm supposed to fix the code so that it works?

Again, this comes up because the Sprint mailer requires address that
begin with a /.  I can't do that without the quotes because my local mailer
thinks I'm trying to mail straight to a file ...

This all works properly with UCB Mail.

Josh
--
--
      Josh Sirota			INTERNET: jss@eng.sun.com
      Sun Microsystems			UUCP: ...!sun!eng!jss
Technical Details
Message-ID: <8391@exodus.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wotan!moxie!texsun!newstop!exodus!greeble.Eng.Sun.COM!jss

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wotan!moxie!texsun!newstop!exodus!greeble.Eng.Sun.COM!jss
From: jss@greeble.Eng.Sun.COM (Josh Sirota)
Newsgroups: comp.mail.mush
Subject: Quotes in addresses
Message-ID: <8391@exodus.Eng.Sun.COM>
Date: 21 Feb 91 22:03:37 GMT
Sender: news@exodus.Eng.Sun.COM
Reply-To: jss@greeble.Eng.Sun.COM (Josh Sirota)
Organization: Sun Microsystems, Inc.  Mt. View, Ca.
Lines: 38