How to clear Powermta mail queue

 Login to the server using SSH

Stop powermta first:

# service pmta stop

Go to powermta mail queue directory:

# cd /var/spool/pmta/

Remove all mails in the queue:

# rm -rf *

Restart the powermta:

# service pmta restart  or  service pmta start

Post a Comment

0 Comments