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.

Prevent user completely from sending outgoing Email

Discussion in 'E-mail Discussions' 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:
    37,064
    Likes Received:
    1,285
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page