Skip to main content

Exclude cPanel Account From Sending Emails

Comments

4 comments

  • quietFinn
    Is the spam sent from the server in question, or is it sent from outside of the server?
    0
  • creemhost
    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
  • quietFinn
    Maybe this helps:
    0
  • ServerHealers
    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.