1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Resolve an issue with “ghost” folders
This guide explains how to delete folders that appear grayed out in the Web app Mail Infomaniak (online service mail.infomaniak.com) or in some email software/clients like Apple Mail, Mozilla Thunderbird, or Microsoft Outlook.
Ghost folders
Some email software/clients like Microsoft Outlook allow you to create subfolders of non-existent folders. For example, it is possible to create the folder /abc/klm/xyz while the folder "klm‍" does not exist.
On Mail Infomaniak or in other email software/clients, ghost folders like the folder "klm" in this example appear in gray and cannot be deleted directly.
To delete these ghost folders, it is necessary to delete their subfolders first (in this example: xyz).
Stubborn folders
If, when viewing your Infomaniak email address on Outlook, ghost folders appear and cannot be deleted because they reappear instantly, here is a procedure recommended by Microsoft to solve this problem:
Reset the IMAP cache
To do this:
- Close Outlook.
- Access the folder where your Outlook data files are stored:
C:\Users\[Your Username]\AppData\Local\Microsoft\Outlook. - Find the
.ostfile associated with your IMAP account (e.g., Infomaniak) and delete it (the file will be recreated automatically when Outlook is reopened). - Reopen Outlook and let it resynchronize your emails and folders.
Search for hidden folders in Outlook
To do this:
- In Outlook, go to the "Folder" tab and select "IMAP Folders".
- Click on "Query" and search for the ghost folder.
- If you find the folder, try to unsubscribe from it, then delete it.
Use the MFCMAPI tool
MFCMAPI is a tool that allows you to manage mailboxes at a low level and delete stubborn folders:
- Download MFCMAPI from the official site (choose the x86 or x64 version depending on your system).
- Run MFCMAPI and go to
Session > Logon. Select your Outlook profile. - In the MFCMAPI window, expand the mailbox associated with your IMAP account and locate the ghost folder.
- Right-click on the folder and select "Delete folder". Choose "Hard Deletion" for permanent deletion.
Check the folder properties in Outlook
To do this:
- Right-click on the ghost folder in Outlook, then select "Properties".
- Check for any unusual settings. Reset or modify the settings if necessary, then try deleting the folder again.
Recreate the Outlook profile
If the previous steps fail, recreating your Outlook profile can be an effective solution:
- Back up your important data before proceeding.
- Go to
Control Panel > Mail > Show Profiles > Add. - Follow the instructions to set up a new email account.
- Set this new profile as the default and open Outlook.
- Check if the ghost folder persists after creating the new profile.
By following these steps, you should be able to resolve the issue of ghost folders in Outlook IMAP.