Digital Marketing

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

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership