Hello,
As you know some versions we installed that had IMAP folders translations enabled created a mess (mostly for outlook users using IMAP).
While these versions were running on our production server and because of these translations, duplicate folders were created for Drafts, Junk, and other special folders.
Now that the issue is fixed, we're left with a lot of user mailboxes that have these duplicate folders.
We need a procedure to problematically clean them. We wouldn't mind go manually if we had 10 users but for 25k+ accounts it's a nightmare.
These folders being present is quite an annoying situation because the update fixing the IMAP translation issues seemed to have reset all users language back to english (which is not a huge problem as each user could switch it back to french, indivitually).
However, most of them can't switch back to their original language because SmarterMail refuses to accept the change saying that switching the language would conflict with existing folders (the ones created by Outlook while these bogus IMAP versions were running).
It is generating quite an huge amount of support requests of customers not able to change their language in the webmail.
We need a solution to programatically check for each mailbox if such folders exists, and remove them if they are empty (or move the content back to the original special folder if they aren't).
Any idea / Suggestion ?
Thank you.