[Dovecot] authenticate plain and utf-8 with special chars
Hi,
I experienced some problems with authenticate.
seems like the mail clients like thunderbird send their base64 string in ISO- encoding, which doesnt work on my dovecot setup if there are some Umlauts
I am not able to login as "ömer" for example
If I authenticate from telnet with an base64 encoded utf-8 string like 'echo -en "\0ömer\0Start12" |base64' everything works fine
-dovecot 2.1.7 -userdb is an openldap which queries an windows AD so results are in utf8, I think.
any clues at which point to fix this are welcome ;)
On 2012-07-31, at 5.42, Matthias Lay matthias.lay@securepoint.de wrote:
seems like the mail clients like thunderbird send their base64 string in ISO- encoding, which doesnt work on my dovecot setup if there are some Umlauts
I am not able to login as "ömer" for example
If I authenticate from telnet with an base64 encoded utf-8 string like 'echo -en "\0ömer\0Start12" |base64' everything works fine
This looks like a Thunderbird bug. SASL PLAIN uses UTF-8, not ISO-8859; see RFC 4616.
Thunderbird's bug #312593 relates to password handling, but it sounds like there's a similar issue affecting usernames. See https://bugzilla.mozilla.org/show_bug.cgi?id=312593. It might be worth adding a comment there.
--
Matthew Powell matthew@atom.net
participants (2)
-
Matthew Powell
-
Matthias Lay