[MAILER-DAEMON@mira.linknet.com.au: Undeliverable Mail]
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?
----- Forwarded message from MailMAX Error Responder <MAILER-DAEMON@mira.linknet.com.au> -----
Delivery-date: Sat, 20 Jul 2002 11:45:31 -0400 From: "MailMAX Error Responder" <MAILER-DAEMON@mira.linknet.com.au> Subject: Undeliverable Mail
When we said... DATA
.. the remote server gave us this error response ... 550 Syntax error in 'To' header: malformed address: <courses@linuxchix.org>\n may not follow courses@linuxchix.org : failing address is: courses@linuxchix.org <courses@linuxchix.org>
This is a Permanent error, and we will not try to deliver it again.
*** This message was automatically generated by the MailMAX Error Responder ***
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")
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 thought it was legal, but on reviewing RFC 822, I find that it is, in fact, invalid: if the phrase outside <>'s contains any of spaces, ctrls or:
specials = "(" / ")" / "<" / ">" / "@" ; Must be in quoted- / "," / ";" / ":" / "\" / <"> ; string, to use / "." / "[" / "]" ; within a word.
...it must be quoted: To: "user@domain.com" <user@domain.com>
-- Alan Batie ______ www.rdrop.com/users/alan Me alan@batie.org \ / www.qrd.org The Triangle PGPFP DE 3C 29 17 C0 49 7A \ / www.pgpi.com The Weird Numbers 27 40 A5 3C 37 4A DA 52 B9 \/ razor.sourceforge.net NO SPAM!
A free society is a place where it's safe to be unpopular.
-Adlai Stevenson, statesman (1900-1965)
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?
As others have said, no.
| MailMAX is the only server I've ever seen thrown an error on this.
Try it against my exim server. I've enabled its syntax checking which causes it to reject messages like that. (it also rejects a good number of spam messages with bogus headers)
-D
--
SELECT * FROM users WHERE clue > 0 0 rows returned (http://www.thinkgeek.com/images/products/zoom/no-clue.jpg)
participants (4)
-
Alan Batie
-
Derrick 'dman' Hudson
-
Jay R. Ashworth
-
Terri Oda