Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folders via IMAP not working with German umlauts or ampersand in folder name #115

Closed
dfied opened this issue Dec 11, 2024 · 6 comments
Closed

Comments

@dfied
Copy link

dfied commented Dec 11, 2024

Client: current Thunderbird version 128.5.0
Gromox: gromox-2.38.5.g9866cfd-6.1
Rocky Linux 9.5 with current updates

Since some days I have problems using folders in gromox-imap that have german umlauts in its folder names. Also folders with ampersand are affected.
I thought this was caused by #114 but the fix only stopped the sqlite error in the midb logs but the folders are still not accessible. The folders are greyed out in Thunderbird. When opening the subscribe dialog for folders, those folder are shown twice.
Also affected are the Trash folder (Gelöschte Objekte in German) and Drafts (Entwürfe).
Grommunio Web and Grommunio Sync are working as expected.

How can I help to analyze this problem?

bye
Daniel

@crpb
Copy link
Contributor

crpb commented Dec 11, 2024

Haha, yeah it doesn't like that at all :P.

[2024-12-11 21:30:30] IMAP> 3714 UID FETCH 1:* (FLAGS UID) 
[2024-12-11 21:30:30] IMAP< [FETCH data - 687 bytes]
[2024-12-11 21:30:46] IMAP> 3715 LIST "" "Deleted Items/&APw-l&AOQ-n&APYA3w-e" 
[2024-12-11 21:30:46] IMAP< 3715 OK LIST completed 
[2024-12-11 21:30:46] IMAP> 3716 CREATE "Deleted Items/&APw-l&AOQ-n&APYA3w-e" 
[2024-12-11 21:30:46] IMAP< 3716 NO server internal error, midb: cu_create_folder failed 
** IMAP error on gromi.xxxx.de: CREATE error
** can't create mailbox
[2024-12-11 21:31:26] IMAP> 4491 NOOP 

Also tested with other folders than trash. Claws-Mail here.

And i also can now see i can't access the trash in the shared mailbox which is german (i always set mine to english..)

[2024-12-11 21:33:55] IMAP< * STATUS "Queue" (MESSAGES 0 UIDNEXT 1 UIDVALIDITY 3398226 UNSEEN 0)
[2024-12-11 21:33:55] IMAP< 11586 OK STATUS completed
[2024-12-11 21:33:56] IMAP> 11587 STATUS "Gel&APY-schte Elemente" (MESSAGES UIDNEXT UIDVALIDITY UNSEEN)
[2024-12-11 21:33:56] IMAP< 11587 NO [TRYCREATE]  server internal error, midb: folder does not exist/failed to read folder
[2024-12-11 21:33:56] ** warning: IMAP error on gromi.xxxxxx.de: STATUS error
[2024-12-11 21:33:56] IMAP> 11588 SELECT "Gel&APY-schte Elemente"
[2024-12-11 21:33:56] IMAP< 11588 NO [TRYCREATE]  server internal error, midb: folder does not exist/failed to read folder
[2024-12-11 21:33:56] ** warning: IMAP error on gromi.xxxxxx.de: SELECT error
[2024-12-11 21:33:56] ** warning: can't select folder: Gel&APY-schte Elemente
[2024-12-11 21:34:26] IMAP> 4494 NOOP

PS: gromox-2.38.0.8963230-lp156.4.1.x86_64 and gromox-2.38.10.22eab48-lp156.7.1.x86_64 the same..

@crpb
Copy link
Contributor

crpb commented Dec 11, 2024

I just ran "search for new folders" on every mailbox and this fixed as it seems the usage of "Gelöschte Objekte" as i now can use the "emtpty" function.
Odd thing is that one of the mailboxes appears to be now english even tho it is displayed with de_DE in exmdb store get and another mailbox is shown as german like it used to.
Furthermore i can't seem to create/delete any folder with claws-mail. With alpine it worked tho .. 🙈

@jengelh
Copy link
Member

jengelh commented Dec 11, 2024

gromox-2.38-14-g330426e88

@jengelh
Copy link
Member

jengelh commented Dec 12, 2024

Odd thing is that one of the mailboxes appears to be now english

claws does not know RFC 6154, and always (re-)creates folders called Trash, Drafts, Queue even if you already have Gelöschte Elemente, Entwürfe, etc.

@jengelh jengelh closed this as completed Dec 12, 2024
@crpb
Copy link
Contributor

crpb commented Dec 12, 2024

Trash, Drafts, Queue even if you already have Gelöschte Elemente, Entwürfe, etc.

yeah, but i also have the same english view in the webapp so that wasn't only in claws :P.

gromox-2.38-14-g330426e88

works for me 👍🏼

@dfied
Copy link
Author

dfied commented Dec 12, 2024

works for me, too!
Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants