drwxr-xr-x 2 smmsp smmsp 4.0K May 6 23:31 mqueue drwxrws--- 2 smmsp smmsp 29M May 8 10:40 mqueue-client
As you can see
mqueue-client is filled with 29 megabytes of unsent mail. This seems to be likely from an internal function sending mail to localhost which is failing.
I've tried numerous attempts to clear the queue but none have succeeded. The result is a process using up significant CPU resources:
16287 smmsp 20 0 50212 44m 2416 R 85 4.4 965:35.45 sendmail-msp
I've tried killing the process, stopping the sendmail service, deleting the contents of the mqueue-client and even switching to the smmsp user. But none have worked.
rm hangs when trying to remove the mail.
How can I go about emptying this queue?
Once I've done this I'll move everything over to Postfix.