How To Clear Plesk Mail Queue Via SSH (Postfix)
If you are running a Plesk server and you notice a script which has filled up the server with spam emails awaiting delivery then it is probably a good idea to clear the mailqueue. The mail queue can be cleared using the following:
postsuper -d ALL
how to flush postfix mail queue in plesk
postqueue -f