[Mailman-Developers] [MAILER-DAEMON@mira.linknet.com.au:Undeliverable Mail]

Dan Kohn dan@dankohn.com
Sat, 20 Jul 2002 12:39:22 -0700


"user@domain.com <user@domain.com>" is not legal under RFC 2822.  It is
must not generate under either current (section 3) or obsolete (section
4) grammar.

<mailbox> is defined as "[display-name] angle-addr", <display-name> is a
<phrase>, which is "1*word", where <word> is "atom / quoted-string".
<atom> is defined in section 3.2.4 *not* to include "@".  In other
words, you can't use an unquoted "@" in a <display-name> under either
current or obsolete grammar.

However, you could include the @ as part of a <quoted-string>, defined
in section 3.2.5.  Thus, the following:

  user@domain.com <user@domain.com>     <-- illegal
  "user\@domain.com" <user@domain.com>  <-- legal

I'm cc'ing ietf-822@imc.org, which has taken the place of
comp.mail.headers, for confirmation.

          - dan
--
Dan Kohn <mailto:dan@dankohn.com>
<http://www.dankohn.com/>  <tel:+1-650-327-2600>

-----Original Message-----
From: Jay R. Ashworth [mailto:jra@baylink.com] 
Sent: Saturday, July 20, 2002 09:12
To: mailman-developers@python.org
Subject: Re: [Mailman-Developers]
[MAILER-DAEMON@mira.linknet.com.au:Undeliverable Mail]


On Sat, Jul 20, 2002 at 12:13:08PM -0400, Terri Oda wrote:
> I've been getting these periodically from one of my list members'
servers
> and I'm curious... is 
> 	To: user@domain.com <user@domain.com> 
> really an invalid address?  MailMAX is the only server I've ever seen
thrown
> an error on this.  
> 
> I keep meaning to email them and ask what's up, since it seems like a
bug to
> me, but before I do, does anyone know if this is actually an invalid
address
> and other servers just deal with it?

According to my reading of RFC 2822 3.4, no, it's fine: if a mailbox
can be a name-addr, and a name-addr is a display-name followed by an
angle-addr, then the display-name should be treated as a comment by
any mailre, provided that the angle-addr is syntactically correctly
constructed.

But this is more properly a topic for comp.mail.headers.  (Does that NG
still exist?  ;-)

Cheers,
-- jra
-- 
Jay R. Ashworth
jra@baylink.com
Member of the Technical Staff     Baylink
RFC 2100
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727
647 1274

   "If you don't have a dream; how're you gonna have a dream come true?"
     -- Captain Sensible, The Damned (from South Pacific's "Happy Talk")


_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman-21/listinfo/mailman-developers