Victor Duchovni:
> On Fri, Mar 26, 2010 at 04:54:00PM -0400, Wietse Venema wrote:
> 
> > > Don't pass non-ASCII user names to your LDAP table.
> > 
> > Hmm. If the Postfix LDAP driver handles only non-ASCII query keys
> > then we should have a smarter response from the mail system.
> 
> Agreed. By the time I read your message, I had already implemented this
> idea. Arguably, something similar should be done for MySQL and PgSQL,
> since even with the databases willing to convert local encodings to
> UTF-8, the data Postfix sends into the query is not known to be in the
> local character-set, and so all such queries are dubious.

Currently, sites that send valid UTF-8 in MAIL/RCPT commands can
make meaningful LDAP queries in Postfix.  Lots of MTAs are 8-bit
clean internally, so this can actually work today.

Do we want to remove this ability from Postfix, or should we add
a valid_utf_8() routine in anticipation of a future standardization
of UTF8SMTP?

        Wietse

Reply via email to