Let's have UTF8 on Mailboxes

Which features are you missing? Tell us about it.
Post Reply
amarc
Posts: 43
Joined: Thu 7. May 2020, 18:56

Let's have UTF8 on Mailboxes

Post by amarc »

Quick fix but very useful. For example if IMAP Mailbox (at least in my case) is named with ŠĐŽČĆ letter in them they can't be opened via Webmail.


Fix is to add in /etc/dovecot/dovecot.conf:

Instead:

Code: Select all

mail_location = maildir:/var/mail/vhosts/%d/%n[/b]
Like this:

Code: Select all

mail_location = maildir:/var/mail/vhosts/%d/%n:UTF-8
So just additional :UTF-8

I am not sure if this is one of files that get overwritten on update so maybe someone can suggest better location for this fix ?
User avatar
Alexander
Keyweb AG
Posts: 4177
Joined: Wed 20. Jan 2016, 02:23

Re: Let's have UTF8 on Mailboxes

Post by Alexander »

Hello,

sorry, but I can not reproduce the underling issue here.

1) I have create the domain "šđžčć.com"
2) I have added the email address test@šđžčć.com
3) I was able to login into this account without any issues via Roundcube (1.6.6), Snappymail (2.36.0), or the outdated RainLoop and could access existing emails.

The path is "/var/mail/vhosts/xn--4dall33a0e.com/test/"
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
amarc
Posts: 43
Joined: Thu 7. May 2020, 18:56

Re: Let's have UTF8 on Mailboxes

Post by amarc »

Hi Alexander,

I had issues with IMAP folders with those chars, not actual domains/usernames.

Actually those folders were migrated from Plesk based hosting (not via your script but with simple rsync) and issue arise until I added this to dovecot. Not sure what would it be if I simply created those folders on Keyhelp via IMAP client (or Roundcube)
Post Reply