Overview
This article provides the steps to fix an issue you may encounter when trying to download items from the Journal Mailbox.
Information
When downloading items from the Journal Mailbox, the process fails with an error message:
Duplicate folders ???? ??? ?????? , ?????? ?????? ????? , ?????? ????? ?????? were detected in the mailbox. Therefore the user's connection was disconnected.
The debug ..\Core\Debuglogs\ImapProvider.log
reads:
"info ","ImapProvider","Selecting mailbox 'Inbox'..."
"error ","ImapProvider","ERROR: Exception while connecting:
;MArc.Exceptions.DSException: FolderNotFound ---> System.ApplicationException: Could not select mailbox 'Inbox'. ---> MArc.Imap.Client.ResponseHandlers.BadResponseException: Duplicate folders ???? ??? ?????? , ?????? ?????? ????? , ?????? ????? ?????? were detected in the mailbox. Therefore the user's connection was disconnected.
The debug ..\Core\Debuglogs\ImapClient.log
reads:
"info ","ImapClient","C: 3 SELECT 'Inbox'"
"info ","ImapClient","S: 3 BAD Duplicate folders '???? ??? ??????', '?????? ?????? ?????', '?????? ????? ??????' were detected in the mailbox. Therefore the user's connection was disconnected."
This error occurs when the folder structure within the journal mailbox is corrupt, and duplicate folders exist. Therefore, when an IMAP client tries to select a folder, Microsoft Exchange closes the connection with the mentioned error.
Process
- Log into a computer with Microsoft Outlook installed.
- Configure Outlook to connect to the journal mailbox via the MAPI protocol (ensure that the Cached Exchange Mode option is disabled within the MAPI connection).
- Download the tool: MFCMAPI.
Note: MFCMAPI is a low-level MAPI client - please be careful when using this tool. - Start the tool.
- Navigate to Session > Logon.
- Double click on the table entry, which represents the Journal Mailbox.
- Navigate to Root > Journal Mailbox and expand "Top of Information Store".
- Make sure that there are no duplicate folders present.
Confirmation
You are able to download items from the Journal Mailbox.