Why can't I delete an IMAP folder?

This page is showing a generic answer.
To see a more detailed answer customized for you, type your domain name here:

You can normally create and delete IMAP mail folders using your mail program or our Webmail pages.

In rare cases, particularly when you use multiple IMAP programs to read the same mailbox, you may find that it's impossible to delete a particular folder, because your mail program will tell you that it doesn't exist.

If this happens, please contact us and we can fix it for you.

What is the technical problem?

This section is mostly for reference by our staff, although technically experienced customers may be able to do the same thing using the Unix shell.

Each mail directory (at "/home/ex/example.com/mailstore") contains the mail account's subfolders. In some cases, it also contains separate files to track the access permissions on those folders (at "/home/ex/example.com/mailstore/courierimaphieracl").

If for some reason the contents of the "courierimaphieracl" directory don't match the actual folders that exist, IMAP mail programs may not work correctly.

The solution is to delete all the files in the "courierimaphieracl" directory (without deleting the directory itself). After doing that, you should also quit and reopen the IMAP mail program so that it gets an accurate list of which folders are available.