Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Stop all email for an account

Discussion in 'E-mail Discussions' started by chetanmadaan, Jan 31, 2017.

  1. chetanmadaan

    chetanmadaan Active Member

    Joined:
    Jun 18, 2010
    Messages:
    34
    Likes Received:
    6
    Trophy Points:
    58
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. chetanmadaan

    chetanmadaan Active Member

    Joined:
    Jun 18, 2010
    Messages:
    34
    Likes Received:
    6
    Trophy Points:
    58
    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?

    Code:
    whmapi1 suspend_outgoing_email user=example
    and to un-suspend it would just be unsuspend_outgoing_email right?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  5. chetanmadaan

    chetanmadaan Active Member

    Joined:
    Jun 18, 2010
    Messages:
    34
    Likes Received:
    6
    Trophy Points:
    58
    Sure will do.

    Thanks,
     
    cPanelMichael likes this.
Loading...

Share This Page