Mail Server

How to clear Powermta SMTP Server queue


At first Login to the server using SSH, I suggest you should use Putty or Similar Tool.

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