How to mass delete email from a specific sender using Dovecot (expunge)

Here is the command to mass delete a message from a Dovecot mailbox:

doveadm expunge -u existing-user@existing-domain.com mailbox Inbox FROM  bad-actor@domain.example.com

 

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *