2
Production build 8965 and Outlook + IMAP -> Problem with folder names with accents
Problem reported by Sébastien Riccio - 7/22/2024 at 2:10 AM
Submitted
Hello,

Since we upgraded our production server to latest build as recommended by SmarterTools, our customers using Outlook with IMAP have every folder containing an accent displayed wrongly.

They are displayed with UTF-7 encoding I Think.

For example: "Carrossiers Ind&AOk-pendants"

It seems it only affects Outlook + IMAP. Thunderbird and eMclient with IMAP displays the folder names correctly.

I sniffed the IMAP dialog between Outlook and SM, Thunderbird and SM, and I see no relevant difference that would explain this.

However the new SM build now includes UTF8=ACCEPT support for IMAP which Outlook, Thunderbird and emClient seems to enable when connecting to SM.

[2024.07.22] 10:42:26.245 [192.168.50.35][37189847] command: vd05 ENABLE UTF8=ACCEPT
[2024.07.22] 10:42:26.245 [192.168.50.35][37189847] response: * ENABLED UTF8=ACCEPT
[2024.07.22] 10:42:26.245 [192.168.50.35][37189847] response: vd05 OK ENABLE completed
[2024.07.22] 10:42:26.330 [192.168.50.35][37189847] command: pj1h IDLE

I now wonder if because of this Outlook doesn't try to decode the UTF-7 folder names anymore and is excepting only UTF-8 encoded folder names ?

Is there a say to disable UTF-8=ACCEPT announcement in SmarterMail IMAP capabilities announcement so I can check how Outlook handle the folder names after this has been disabled ?

I mean without the need to rollback to previous stable SM build ...

Kind regards,
Sébastien
Sébastien Riccio
System & Network Admin

2 Replies

Reply to Thread
2
Sébastien Riccio Replied
Well, more generally it seems that the UTF8=ACCEPT IMAP support in SM is bugged at least for folder names handling.

If I create a folder from Thunderbird, or outlook, or emClient, the client, because of UTF8=ACCEPT now creates the folder encoded in UTF-8.

But then SmarterMail saves/create the folder encoded back in UTF-7 so the folder doesn't appear in the client after creation as it can't find it with the same encoding...

For it to appear you need to exit the client and start it again so it request a full list of the folders, and the folder is returned encoded in UTF-7.

However the RFC says...

3.  "UTF8=ACCEPT" IMAP Capability and UTF-8 in IMAP Quoted-Strings

   The "UTF8=ACCEPT" capability indicates that the server supports the
   ability to open mailboxes containing internationalized messages with
   the "SELECT" and "EXAMINE" commands, and the server can provide UTF-8
   responses to the "LIST" and "LSUB" commands.  This capability also
   affects other IMAP extensions that can return mailbox names or their
   prefixes, such as NAMESPACE [RFC2342] and ACL [RFC4314].

... which seems is not the case with SmarterMail implementation.

We really need a way to disable UTF8 support until it has been throughly tested and fixed!

Kind regards.
Sébastien Riccio System & Network Admin https://swisscenter.com
0
Charalampos Michael Replied
It would be nice to provide us the ability to convert everything to UTF8.

Reply to Thread