Namespace issues & duplicate maiboxes
Antonio Leding
tech at leding.net
Sat Jul 18 00:20:48 EEST 2020
Hi Sami,
That appears to have helped. Also, can I ask a huge favor? Would you mind validating my procedure to get rid of the duplicates:
(1) Copy messages from the duplicate to the proper folder: Deleted Messages —> Trash, Sent Messages —> Sent etc. (doveadm move)
(2) Verify message counts in the proper folders (doveadm mailbox status)
(3) Clear out the duplicate mailbox (doveadm expunge)
(4) Delete the duplicate mailbox (doveadm mailbox delete)
I know this may seem pretty basic to you but this is my first time going through all of these operations for this type of issue so I figured your review would be beneficial.
As always, thank you so much for the help…
> On Jul 17, 2020, at 12:43 PM, Sami Ketola <sami.ketola at dovecot.fi> wrote:
>
>
>
>> On 17. Jul 2020, at 22.32, Antonio Leding <tech at leding.net> wrote:
>>
>> Hello,
>>
>> I am seeing duplicate mailboxes when I perform the “doveadm mailbox list” command…the output is as follows:
>>
>> =================
>>
>> INBOX
>> INBOX.Drafts
>> INBOX.Trash
>> INBOX.Sent
>
> These are the folders that your configuration has autocreated for the user.
>
>> INBOX.INBOX
>> INBOX.INBOX.Sent Messages
>> INBOX.INBOX.Drafts
>> INBOX.INBOX.Trash
>> INBOX.INBOX.Deleted Messages
>
> These are the folders that your user has created by himself.
>
>>
>> =================
>>
>> Here is namespace config that seems to have caused the above duplicates. Please help me understand what I’m doing wrong here…and also, not sure if this is relevant but the client is Apple Mail…
>
> When you connect to the imap port of your server, does the server CAPABILITY advertise SPECIAL-USE support? Mail.App will create those folders if SPECIAL-USE is not advertised and there was bugs at some point that stopped dovecot from adding SPECIAL-USE to the CAPABILITY string even after special_use folders were in config.
>
> Sami
>
More information about the dovecot
mailing list