

Remove all messages from 'Drafts' folder on all domain mailboxes: Remove all messages older than a week from all folders except 'Inbox' folder for the particular mailbox doveadm expunge -u mailbox INBOX.'*' before 1w # doveadm mailbox list -u all messages older than a week from the 'Inbox' folder for the particular mailbox doveadm expunge -u mailbox '*' before 1w Mailbox should be enabled: The " Mailbox" option is checked in Domains > Email Addresses > the information about existing mailboxes: Note: SSH access to the server is required. Please vote for it on our Plesk UserVoice portal: the most popular features are likely to be included in one of the next Plesk versions.Īs a workaround, one of the following methods can be applied:ĭelete the mailbox from the server and create it again - all emails will be removed ĭirectly manipulate with Dovecot administrative utilities on a server: Right now this feature is not implemented in Plesk. How to delete all or some emails from a mailbox without logging in to the mailbox? Answer
