Matthias Lay
2012-Jul-31 09:42 UTC
[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 ;)
Matthew Powell
2012-Aug-04 13:30 UTC
[Dovecot] authenticate plain and utf-8 with special chars
On 2012-07-31, at 5.42, Matthias Lay <matthias.lay at 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 fineThis 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 at atom.net