[Dovecot] dovecot+LDAP/AD encoding issue

Matthew Powell matthew at atom.net
Thu Aug 9 05:10:30 EEST 2012


On 2012-08-08, at 7.56, "Wiethoff, Helge" <Wiethoff at tfh-bochum.de> wrote:

> As you can see this is ISO-8859-1: e4 --> ä
> But the first incoming String from the client was UTF-8 encoded!?
> 
> [Tue Aug 07 10:56:37 2012] [debug] mod_dumpio.c(74): mod_dumpio:  dumpio_in (data-TRANSIENT): _pass=T%C3%A4st1234
> 
> Anyway... I guess I have to force our users to 7-bit Characters :-(

You mentioned Roundcube earlier. I notice this in Roundcube's default main.inc.php:

  // Password charset.
  // Use it if your authentication backend doesn't support UTF-8.
  // Defaults to ISO-8859-1 for backward compatibility
  $rcmail_config['password_charset'] = 'ISO-8859-1';

...so changing that to UTF-8 may fix the problem so far as Roundcube is concerned.

But you may still face a problem with other clients. We just discussed Thunderbird's behaviour a few days back...

-- 

Matthew Powell                                          matthew at atom.net





More information about the dovecot mailing list