[Mimedefang] Apostrophes escaped in "To:" address

David F. Skoll dfs at roaringpenguin.com
Thu Oct 9 17:00:01 EDT 2003


On Thu, 9 Oct 2003, Keith Dowell wrote:

> Hmm - I always was under the impression that an apostrophe was an invalid
> character. (Yet I just tested it on a linux box and if I add the user with
> quotes I can put it in... but why).

According to RFC 2822, the following addresses are legal:

	<%!#$'?@domain.net>
	<"@ @ @@@!!!_@$#$#$%*&#$(&@#&^!!+++"@domain.net>

Read it if you don't believe me. :-)

These addresses are not likely to be handled correctly by a lot of
software, but they are technically OK.  Many Sendmail installations, for
example, will choke on something with a "%" in it.


Regards,

David.



More information about the MIMEDefang mailing list