Stop processing email mail queue command?

postcd

Well-Known Member
Oct 22, 2010
717
19
68
Hello, is there any linux command suitable for a WHM server which stops all processes which attempting to deliver queued mails as scheduled?

I mean example an bulk spam is sent out of server and i want to temporarilly stop all mailqueue delivery untill i clean the queue.. thx
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello :)

You could stop Exim:

Code:
service exim stop
Then, ensure monitoring for it is disabled with Chkservd so it does not restart automatically:

"WHM Home » Service Configuration » Service Manager"

Thank you.