Mark Martinec: > Jeroen Geilman wrote: > > > Urgh. Which RFC are you reading ? > > I quote: > > Systems MUST NOT define mailboxes in such a way as to require the use > > in SMTP of non-ASCII characters > > True (tell it to generators of malicious mail or just incompetent sending sw). > This does not prevent illegal data to appear on the wire on the receiving MTA. > Receiving such data must not cause MTA or SQL to malfunction. > > There is also an initiative to allow UTF-8 characters to appear in SMTP > (RFC 5336 and related documents). A malformed UTF-8 could easily > appear there, despite being prohibited. If an SQL database would > declare an e-mail address field of an UTF-8 data type, a lookup could > abort when given such invalid data.
In anticipation of UTF8SMTP support, I added an UTF-8 validator to Postfix a while ago. This validator is currently used only in the LDAP and SQLITE clients, which are known to require UTF-8. If a string is not valid UTF-8, then it is not used in a query. Wietse