Stop all email for an account
Hi,
I am having issues with a website I am hosting and it's getting infected with malware on a daily basis. I am trying to see if I can stop all outgoing email from the account. For instance, in WHM I am able to limit the number of emails per hour and rest of it gets queued. Is there a way to just stop it so that the account is not able to send any emails whatsoever and not queue them as well?
Thank You, I am fine if Mod's want to move this to security category or something?
-
Hello, The following WHM API 1 function is available if you'd like to suspend outgoing email for an account: WHM API 1 Functions - suspend_outgoing_email - Software Development Kit - cPanel Documentation If mail for a cPanel user's account is suspended, the system will reject their email before the mail server puts it in queue. Thank you. 0 -
Got it... just to be clear... this isn't available through WHM and I can login to SSH and run the following command that this will do it. right? whmapi1 suspend_outgoing_email user=example
and to un-suspend it would just be unsuspend_outgoing_email right?0 -
Hello, Yes, that is correct. I encourage you to vote and add feedback to the following feature request if you'd like to see an equivalent option added to the WHM UI: WHM Interface to manage cPanel mail account suspensions Thank you. 0 -
Sure will do. Thanks, 0
Please sign in to leave a comment.
Comments
4 comments