On Sat, Sep 17, 2016 at 09:03:48AM +1000, voy...@sbt.net.au wrote:
> 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-dae...@emu.sbt.net.au>")
> or what other ways to clean the mess ?
Easiest way for a one-time thing is to use an IMAP client. I like mutt,
so in mutt, I would connect to the account, then run a limit command (l)
~s "Undelivered Mail Returned to Sender"
(or perhaps limit by From, or both)
Then manually check over the results to make sure it hasn't trapped
anything important, then tag and delete the whole set.