Yep, I understand that (and it's a pretty clever feature). However in this case the messages belong to just one account.
We noticed it while we were testing migration from our existing mail platform. We'd import an entire account with lots of folders etc., then remove them all via the web client, and repeat the process. We noticed the size of the mail store on disk was growing each time we ran the import, and found that after 5 iterations we had 5 copies of each message on disk (though only one showing up in the client).
I've since reproduced the problem by deleting just a few folders at a time. If the messages are in the root level of the Trash folder, they are removed from disk. If they are in sub-folders under trash, generally they are left behind.
I was thinking maybe the Empty Trash logic treats the removal of a folder differently to individual messages, and doesn't always descend through them removing messages before removing the folder entries themselves.
Cheers |