How to clear Powermta mail queue
- Stop powermta first: $ sudo systemctl stop pmta or sudo service pmta stop.
- Go to powermta mail queue directory: $ cd /var/spool/pmta/
- Remove all mails in the queue: $ sudo rm -rf *
- Restart the powermta: $ sudo systemctl restart pmta or sudo service pmta start.
See also:
Comments
Post a Comment