Questions? Feedback? powered by Olark live chat software
Author Avatar

Block outbound SMTP email for specific user in cPanel

Written by: on 12 September 2022 11:42 AM 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))
Not helpful