It creates lot’s of frustations when you see the SPAM mailers/accounts in your servers but sometimes you don’t want to suspend or remove them
You can run the below commands through SSH console
To suspend email service for a the cPanel user “aacenyor”
- whmapi1 suspend_outgoing_email user=aacenyor
For unsuspending the account, please run the below command:
- whmapi1 unsuspend_outgoing_email user=aacenyor