1
Knowledgebase
Block outbound SMTP email for specific user in cPanel
Posted by Ilya Vasilenko on 12 September 2022 11:42 AM

To disallow the whole cPanel account to send emails out the WHM API can be used as below (run in Terminal or SSH session as root):

whmapi1 suspend_outgoing_email user=<username>

Where <username> is cPanel account username you wish to block sending emails from.

Please note, that will affect all domains inside of given cPanel account.

(0 vote(s))
Helpful
Not helpful

Help Desk Software by Kayako