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!

Prevent user completely from sending outgoing Email

Discussion in 'E-mail Discussion' started by amin alnasra, Nov 11, 2016.

  1. amin alnasra

    amin alnasra Member

    Joined:
    Apr 16, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    palestine
    cPanel Access Level:
    Root Administrator
    These commands will suspend and unsuspend users from sending email from your server ...

    // suspend outgoing email
    whmapi1 suspend_outgoing_email user=$USER

    // unsuspend outgoing email
    whmapi1 unsuspend_outgoing_email user=$USER

    replace $USER with the desired user

    Notice : if you suspend and unsuspend the same user from WHM this restriction will be unsuspended also, so you must unsuspend outgoing emails again.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,633
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice