doveadmn expunge to purge directories

Version 1.61.0

Feature
Finished

On the "E-Mail Accounts" page, the "Purge From X" button (to purge from spmabox, imap folders, inbox), used to hunt in the given paths for files that match, to be removed. This change will instead use the "doveadmn expunge" tool instead. For the "Imap Folders" option, the command "doveadmin mailbox list" is used for the given account to obtain the list of folders to purge. Also includes the "purge_spam_days" option, run during the tally to clear the spambox for virtual email accounts. ---- T26046

Interested to try DirectAdmin? Get a 30-day Free Trial!