Am 06.03.2012 02:41, schrieb Wietse Venema:
> Reindl Harald:
>> i am not sure if my validation is up-to-date in
>> rejecting "frankkr?t...@example.com"
>>
>> AFAIK ??? are only allowed in DOMAIN name (IDN)
> 
> RFC5321/22 do not allow non-ASCII in the localpart or domain, or
> in any message header. All encodings of non-ASCII in domains and
> header values must be done before mail is given to Postfix. In the
> case of the localpart or header labels, there is no encoding that
> satisfies RFC5321/22.

clear from the point of RFC and SMTP

using http://code.google.com/a/apache-extras.org/p/phpmailer/downloads/list
special chars are encoded always the right way

my question is more targeted in PHP filter_var($email, FILTER_VALIDATE_EMAIL)
rejecting the local-part with german umlaut and if there is any valid reason
to consider this as bug because the address would be valid using php-mailer
and correct encoding

the domain-part is no problem here because i convert it always to punny-code
for safety long before it is proceeded in my wrappers and i generally
do not love the "new fancy" domain names



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to