Re: obscure email address formats

"Michael J. Tubby B.Sc. MBCS G8TIC" <[email protected]> Sun, 31 Jul 2011 11:07:11 +0100
Newsgroups gmane.comp.security.firewalls.wizards
Message-ID <[email protected]>
On 26/07/2011 12:47, Martin Barry wrote:
> $quoted_author = "ArkanoiD" ;
>> Is there any good reason to allow email addresses (in smtp, imap and alikes)
>> in any format different from mailbox@fqdn ?
> The other caveat with validating email addresses is with IDN¹ you now
> need to support unicode in the frontend although your existing regex should
> cope fine with punycode'd FQDNs in the backend.
>
> cheers
> Marty
>

Depends on what you are trying to do...

     first.last@fqdn
     address%other.address@fqdn

and many other formats are potentially valid, however these should 
really be handled in a mail transfer agent such as Exim (www.exim.org)


Mike