how to mass delete after a hacked mail?

Peter Chiochetti pch at
Fri Sep 16 23:26:44 UTC 2016

Am 2016-09-17 um 01:03 schrieb voytek at
> I had a hacked user account resulting in several thousand bounces back to
> that email inbox, account now corrected, but, how can I mass delete
> bounces with say subject like:
> "Undelivered Mail Returned to Sender"
> (by from ? ""Mail Delivery System" <MAILER-DAEMON at>")
> or what other ways to clean the mess ?
> thanks,
> V

Please excuse if you find my take objectionable: If the user invited the 
mischief, he or she ought to clean that up themselves ;)

Otherwise, there is doveadm search and doveadm expunge …


More information about the dovecot mailing list