Deleted folders reappear after deletion
Problem reported by WaveWorks - March 30, 2015 at 5:18 AM
Just within the past day I noticed folders I deleted along time ago (like months) have all of a sudden re-appeared back in my mailbox after a SmarterMail service restart. I looked on disk and noticed the folders are still on disk but are empty and contain only a mailbox.cfg. When I delete the folder from the web interface, the folder is never deleted from disk. I looked at some backups over the past several weeks and months, and the folders that all of a sudden reappeared are in the backups but again, are empty and contains only a mailbox.cfg. No configuration changes/upgrades took place that may have caused this, so I'm just wondering what the cause might be. My mailbox is a mess now with several dozen empty folders from the past years

2 Replies

Reply to Thread
Robert Emmett Replied
Employee Post
WaveWorks, it sounds like something happened to your root.cfg file so SmarterMail thought it had to rebuild your file structure.  Because of the current way in which SmarterMail handles IMAP, a deleted folder still remains on disk even though it is empty (except for the mailbox.cfg file).  If root.cfg becomes corrupt or inaccessible for whatever reason on service restart, SM rebuilds the file structure which would include those empty folders.
In the next major version of SM, orphan folders and folder deletion will work completely removed from the file structure.
Robert Emmett
Software Developer
SmarterTools Inc.
(877) 357-6278
Thanks - had this same issue today.  User is reporting they cannont delete those folder tho.

Reply to Thread