Exclude cPanel Account From Sending Emails
Hi everyone, I want to exclude 1 cPanel account from sending emails, I mean if anyone sending spam emails etc can we disable email sending for that cPanel account/username.
-
Is the spam sent from the server in question, or is it sent from outside of the server? 0 -
Actually I want to disable email sending from 1 account because I'm using email service and he sending 2K+ daily emails thats why I want to disable email sending on his account. 0 -
Yes as mentioned by @quietFinn, It is something easy to do via WHM API. Login to your server as root and execute the following. whmapi1 suspend_outgoing_email user=example The above will suspend the outgoing email facility if the mentioned user. You can also use "hold_outgoing_email" to hold the emails in the email queue instead of rejecting them. 0
Please sign in to leave a comment.
Comments
4 comments