• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Issue Having 87k mails in inbox

sCHween

New Pleskian
Hi there

as it seems a customer shared his password with the wrong people. Now we have a lot of outgoing mails - which I was able to remove by clearing the queue. But a few 10000 were already out and now most of them were rejected. How can i remove all messages came in the last 24h for the inbox?

Thanks for the fish
 
You can delete the messages from the account. Here are the directory locations

New messages:
Code:
/var/qmail/mailnames/example.com/mailname/Maildir/new/

Current Messages:
Code:
/var/qmail/mailnames/example.com/info/Maildir/cur/
 
solved this issue like this.
Get size and number of messages:
Code:
doveadm -f table mailbox status -u [email protected] "messages vsize" inbox*
Delete all with subject undelivered
Code:
doveadm expunge -u [email protected] mailbox inbox\* subject Undelivered

now working to get unblocked on some blacklists like google :S
 
Last edited:
Back
Top