"user(_at_)domain(_dot_)com <user(_at_)domain(_dot_)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(_at_)domain(_dot_)com <user(_at_)domain(_dot_)com> <-- illegal
"user\(_at_)domain(_dot_)com" <user(_at_)domain(_dot_)com> <-- legal
I'm cc'ing ietf-822(_at_)imc(_dot_)org, which has taken the place of
comp.mail.headers, for confirmation.
- dan
--
Dan Kohn <mailto:dan(_at_)dankohn(_dot_)com>
<http://www.dankohn.com/> <tel:+1-650-327-2600>
-----Original Message-----
From: Jay R. Ashworth [mailto:jra(_at_)baylink(_dot_)com]
Sent: Saturday, July 20, 2002 09:12
To: mailman-developers(_at_)python(_dot_)org
Subject: Re: [Mailman-Developers]
[MAILER-DAEMON(_at_)mira(_dot_)linknet(_dot_)com(_dot_)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(_at_)domain(_dot_)com <user(_at_)domain(_dot_)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(_at_)baylink(_dot_)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(_at_)python(_dot_)org
http://mail.python.org/mailman-21/listinfo/mailman-developers