Overview
An entry similar to the following displays in Kerio Connect logs for your email address (in place of username@domain.com):
[27/Feb/2020 03:12:53] FolderListCache.cpp: Cannot list folder: '~username@domain.com/&BD8EPgRBBEIEMAQyBEkEOAQ6BDg- &BEIEOgQwBD0EOA- &BDQEOwRP- &BEEEPwQ1BEYEPgQ0BDUENgQ0BEs-/&BD8EPgRBBEIEMAQyBEkEOAQ6BDg- &B'. Folder is incorrectly utf-7m encoded. Either fix the folder name or remove the folder completely.
This article shares the process of resolving this issue.
Prerequisite
Admin access to the Kerio Connect server OS
Root Cause
This issue is caused by incorrect or corrupt folder names in the Kerio Connect server OS.
Note: It is not recommended to include any special characters in the folder names as the encoding/decoding in your server's OS can cause them to change and result in this error.
Process
Refer to the following sections for the workaround and manual process to resolve this issue.
Workaround
- Open Kerio Connect webmail, and find the folder that is mentioned in the log error.
-
The folder path and name in the example error is:
~username@domain.com/&BD8EPgRBBEIEMAQyBEkEOAQ6BDg- &BEIEOgQwBD0EOA- &BDQEOwRP- &BEEEPwQ1BEYEPgQ0BDUENgQ0BEs-/&BD8EPgRBBEIEMAQyBEkEOAQ6BDg- &B
-
- Make the folder name shorter using only the UTF-8 characters.
Manual process
Follow these steps if the workaround is not helpful:
-
Navigate to the Kerio Store folder. The default paths are:
-
Windows:
C:\Program Files\Kerio\MailServer\store\
-
macOS:
/usr/local/kerio/mailserver/store/
-
Linux:
/opt/kerio/mailserver/store/
-
-
From the store folder, navigate to the user's folder:
/mail/[domain]/[username]
- For example, for the email address username@domain.com, navigate to the folder:
mail/domain.com/username
- For example, for the email address username@domain.com, navigate to the folder:
-
Find the folder that is reported in the error entry.
-
The folder path and name in the example error is:
~username@domain.com/&BD8EPgRBBEIEMAQyBEkEOAQ6BDg- &BEIEOgQwBD0EOA- &BDQEOwRP- &BEEEPwQ1BEYEPgQ0BDUENgQ0BEs-/&BD8EPgRBBEIEMAQyBEkEOAQ6BDg- &B
-
-
Remove this folder if it does not contain any data that you would like to save. If you cannot remove it, then follow these steps to rename it:
-
Open this folder.
-
Open the status.fld file with the Notepad, Nano, or Vim editor.
-
Find the line starting with
Y
. -
Change this line to
YNew folder name
.Note: Do not include a space between Y and the first letter of the folder name. You may include spaces between other words in the folder name.
-
Confirmation
- Log into your webmail.
- Verify that the folder name is updated as revised.
- Go to the Kerio Connect Administration > Logs section and confirm that it has no additional errors about the folder.