OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Postfix LDAP "Temporary lookup failure"

From: Wietse Venema (wietseporcupine.org)
Date: Wed Apr 14 2010 - 11:54:47 CDT


Victor Duchovni:
> On Sat, Mar 27, 2010 at 08:53:03PM -0400, Wietse Venema wrote:
>
> > 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?
>
> I am a bit reluctant at this time to assume that untyped data coming in
> that looks like UTF-8, really is UTF-8. Even if the LDAP lookup returns
> plausibly useful results, will the UTF-8 envelope survive related
> processing in Postfix?
>
> - PCRE lookups don't currently request UTF-8 support

Meaning it will blow up, or what?

> - Logs don't support non-destructive recording of UTF-8
> envelopes.

I expect that in the long term, UTF-8 will be the canonical
representation of text in *NIX files, and that we should plan
for that future.

        Wietse