IMAP folders automatically created that can't be deleted

stormy

Well-Known Member
Nov 22, 2003
225
44
178
Spain
cPanel Access Level
Root Administrator
With version 11.48, I have some new mailboxes Junk and Archive that can't be deleted. Even deleting them from the command line, they are instantly recreated.

I think this has something to do with iOS autoconfigure. I can't configure my mail in iOS to choose any folder other than Archive for archiving emails. If I make a change, it doesn't stick.

I tried turning off Autoconfigure/Autodiscover but it didn't fix the issue. Any ideas?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

Dovecot and Courier are now configured to inform mail clients of special IMAP folders such as Trash, Junk, Sent, and Archive. They are configured to automatically create:

Code:
  mailbox Archive {
    special_use = \Archive
    auto = create
  }
Thus, it's not possible to remove them (this was discussed in internal case number 161561). I suggest opening a feature request for the ability to delete those folders:

Submit a Feature Request

Thank you.