dovecot-2.2.36-3.el7.x86_64
The below configuration seems to work for Thunderbird and emclient, when moving a message to Junk. Emclient uses "Junk E-mail" and Thunderbird uses "Junk". On the server is only the file .Junk created as expected.
When I move a message to Archive in Thunderbird. On the server the files .Archives and .Archives.2018 are created (Thunderbird creates a subfolder in Archives)
How is this possible? On the server there is already an .Archive folder so it should create .Archive.2018 not?
imap_capability = +SPECIAL-USE
# drafts folders merging mailbox Drafts { special_use = \Drafts auto = create }
# archive folders merging mailbox Archive { special_use = \Archive auto = create } mailbox Archives { special_use = \Archive auto = no }
# spam folders merging mailbox Junk { special_use = \Junk auto = create } mailbox Spam { special_use = \Junk auto = no } mailbox "Junk E-mail" { special_use = \Junk auto = no }