webmin/usermin

Encoding issue #3

DrCarsonBeckett opened this issue · 12 comments

Oh, I see.. try the following .. open /etc/dovecot/conf.d/10-mail.conf and tweak default mail location value from:

mail_location = maildir:~/Maildir

.. to:

mail_location = maildir:~/Maildir/:UTF-8

.. and restart Dovecot:

systemctl restart dovecot

Originally posted by @iliarostovtsev in #65 (comment)

I don't really like that issues getting closed without waiting for verification.
It did not solve the issue.
The thing is, the folder name gets displayed correctly if you check in Usermin with the function "Manage Folders", but if you then take a look at the folders in the Mail tab then you will see it gets displayed wrong:

TEst-���-öäü

Displayed correctly in "Manage Folders":

TEst-ÖÄÜ-öäü | /home/xxx/homes/xxx/Maildir/.TEst-ÖÄÜ-öäü

And I did apply the patch @iliarostovtsev mentioned and of course I did restart dovecot and usermin too (just to be sure).

System:
Debian 10
Webmin-Version | 1.962
Usermin-Version | 1.812
Virtualmin Version | 6.14
Authentic theme version | 19.62

Hi,

I don't really like that issues getting closed without waiting for verification.

Sorry, I really thought it just works. It does for me.

If you set mail location to use utf-8 the folders will be created using native charset (without escaping).

Note, that mail location can be used either with default utf-7 or set to use utf-8 (not both at the same time).

Is there still an issue for you?

If you connect using Thunderbird using new Dovecot mail location utf-8 option, does it create mail folder without using escaping?

Hi, no problem. 😃
I just created a new folder and it does use native charset instead of encoded ones.
It gets displayed corrrectly in the managed folders tab, but again not in the mail tab.

Have you tired some other browser or/and different PC?

It does display correctly for me? Can you provide a screenshot for both left menu and ls -lsa output for ~/Maildir?

Its the same problem on IE, Edge, Firefox and also on iOS Firefox and Safari. I tested it on another PC as well (Firefox) and its the same problem.
2020-11-22_15h40_03
2020-11-22_15h39_54
2020-11-22_15h39_39

What happens if you create a folder containing special character using Thunderbird?

I don't use Thunderbird, but one folder of the Test folders with öäü is created from Outlook and the other one directly in Usermin.

.. and in neither way it's displayed correctly?

.. wouldn't it be hard to try the latest Thunderbird to make sure we're on the same page?

Just tested it in Thunderbird (latest version).
It gets displayed correctly, meaning the same as in Outlook and iOS Mail app.
Only issue is that its not displayed correctly in Usermin.
I mean personally I don't really "care" (which is not meant in a mean way) if its displayed wrong there since I rarely (if ever) log in there. I use it with external mail apps anyway.
I just wanted to report that issue, because I think that great software should have as less issues as possible. 😃

I just wanted to report that issue, because I think that great software should have as less issues as possible.

Thanks! I think, I know why this issue is happening on your side - you have Mail storage format for Inbox set to Maildir in Webmin > Usermin > Usermin Module Configuration > Read Mail. When I was testing it, I had it set to IMAP.

Now it makes sense. I will have a look in fixing it.

Okay, I found the reason why it's failing. I will push a patch when finish re-working my build system.

Sounds good, no pressure. Ones its finished, I will gladly test it.

Okay, give it a try with the latest theme patches! It should fix an issue with folders!