[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

why does smtpserver restrict quote in argument to router for verification



Would anyone care to comment on why this piece of code in the smtpserver checks
to see if there are quotes before it passes the address off to the router for
verification ?

	if (args == NULL
	    || strchr(args, '\'') != NULL || args[strlen(args)-1] == '\\') {
		type(501, (char *)NULL);
		return NULL;
	}

The result is that if verification of addresses is turned on, users who have a
quote in their name are out of luck -- for instance, something like
Shawn_O'Malley@mc.xerox.com -- which is just fine as far as RFC822 is
concerned.

Nick Briggs
Xerox PARC