Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0002318SOGoWeb Mailpublic2017-10-10 08:47
Reporteralex_tu Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version2.0.4a 
Target Version2.1.0Fixed in Version2.1.0 
Summary0002318: Problem with cyrillic imap folders
Description

Hello,
I've installed sogo_2.0.2a-1_amd64.deb on Ubuntu 11.04 with dovecot imap server.
If IMAP folder contains letter "?" sogo show it as "?" (for example shows folder "???????" as "???????".
As result sogo can't show messages in this folder and can't do anything with this folder (remove, rename, etc.).

TagsNo tags attached.

Relationships

related to 0004308 resolvedfrancis Unable to create mail folder "???" 

Activities

alex_tu

alex_tu

2013-05-12 13:09

reporter   ~0005577

Last edited: 2013-05-12 13:10

You bug system don't support cyrillic.
Sogo shows some strange symbol instead of one cyrillic letter.
Dovecot stores this folder as .&BBQEPgRBBEIEQwQ,BEs-

Christian Mack

Christian Mack

2013-05-13 11:05

developer   ~0005584

This bug system is in UTF-8 not in ISO-8859-5.
Therefore it should work, if you insert these characters in UTF-8 here.

alex_tu

alex_tu

2013-05-14 04:20

reporter   ~0005590

Last edited: 2013-05-14 04:25

I've configured UTF-8 codepade in my browser FireFox, but I still see "?????????"
im my comment.

For example this world on cyrillic "???????".

ludovic

ludovic

2013-05-24 07:35

administrator   ~0005608

Please provide a network trace using tcpflow when SOGo actually lists the email folders, and when you try to open the culprit one.

alex_tu

alex_tu

2013-05-26 15:44

reporter   ~0005614

Last edited: 2013-05-26 15:48

In the log of sogo I see next message:
C[0x7fb2e23a07b0]: 5 LIST "" ""
S[0x7fb2e27ab0c0]:
LIST (\HasNoChildren) "." "EA"
S[0x7fb2e27ab0c0]: LIST (\HasNoChildren) "." "&BBQEPgRBBEIEQwQ,BEs-"
S[0x7fb2e27ab0c0]: 5 OK List completed.
C[0x7fb2e23a07b0]: 6 logout
S[0x7fb2e27ab0c0]:
BYE Logging out

So it looks like sogo receives folders from dovecot in utf7 and trans-codes it to utf8.

And I see next messages when I try to open Cyrillic folder:
C[0x7fb2e23a77a0]: 5 select "&BBQEPgRBBEIEQwT/BEs-"
S[0x7fb2e21fb690]: 5 NO Invalid mailbox name: &BBQEPgRBBEIEQwT/BEs-

As can you see sogo sends wrong folder name:
received "&BBQEPgRBBEIEQwQ,BEs-"
sent "&BBQEPgRBBEIEQwT/BEs-"

It looks like bug in trans code module.

ludovic

ludovic

2013-09-24 16:02

administrator   ~0006029

Fixed. See:

https://github.com/inverse-inc/sope/commit/223e0ae569b9ad4eae3d5ac5a43209feff99b3dd

and:

https://github.com/inverse-inc/sogo/commit/d2b739d261a01652307972b0def1ffc0074ddffa

Issue History

Date Modified Username Field Change
2013-05-12 13:02 alex_tu New Issue
2013-05-12 13:09 alex_tu Note Added: 0005577
2013-05-12 13:10 alex_tu Note Edited: 0005577
2013-05-13 11:05 Christian Mack Note Added: 0005584
2013-05-14 04:20 alex_tu Note Added: 0005590
2013-05-14 04:25 alex_tu Note Edited: 0005590
2013-05-24 07:35 ludovic Note Added: 0005608
2013-05-26 15:44 alex_tu Note Added: 0005614
2013-05-26 15:48 alex_tu Note Edited: 0005614
2013-06-25 13:11 ludovic Target Version => 2.0.7
2013-07-19 10:18 ludovic Target Version 2.0.7 => 2.1.0
2013-09-24 16:02 ludovic Note Added: 0006029
2013-09-24 16:02 ludovic Status new => closed
2013-09-24 16:02 ludovic Resolution open => fixed
2013-09-24 16:02 ludovic Fixed in Version => 2.1.0
2017-10-10 08:47 francis Relationship added related to 0004308