Purge (compression) after mass deletion or archiving is needed

Some weeks ago I had to archive my emails, both incoming and outgoing ones of the last year, because they consumed ~500 megabytes on my hard disk.

I zipped the content of the mail directory into a mail_archieve.zip file. Then I deleted all of them from each folders, even from the Thrash. I did not have any email in any folder. Searching for emails containing “@” or “.” resulted no hit. Still, the file sizes did no shrink.

Deleting the big files manually is not the best solution because I fear of damaging the database structure. Finally, when I deleted the last file, I have lost all of my filter rules which was a pain.

I would like to have some “purge” method which could shrink the file sizes after mass deletion. Thanks.

Actually, such a function is already implemented but the database is compacted slowly in order to not consume lot of I/O.

OK, but what should I do after deleting all of my archived emails? When I archived my dat files into a zip and deleted all of the emails then I would like to receive the new ones at once. Should I wait for hours/days until emclient finishes purging? If I archive mail dat files because of lack disk space then helpless waiting is rather embarrassing.

Further questions: how will I be informed about finishing? File sizes suddenly will fall down?

A manual launch of purging would be nice. A progress bar could inform me how much time should I wait. At such time I have nothing else to do with emclient except waiting for smaller dat files.

In the first place backup your database folder and then go to Start -> Run and type the following:
“C:\Program Files\eM Client\DbRepair.exe” /rebuildall
or alternatively, if you use 64-bit system:
“C:\Program Files (x86)\eM Client\DbRepair.exe” /rebuildall

Thanks, George, I will try it next time when I will have to archive my mails.

Anyway, for the sake of comfort, it would be nice to be able to reach this function from the menu. Is it possible to put it somewhere?

I think it should be available via a menu item just right under the Tools menu or via a button under Tools => Settings => Storage page.