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.

SSH command to suspend an email account in Fifty4?

Discussion in 'E-mail Discussions' started by Secmas, Feb 5, 2016.

  1. Secmas

    Secmas Well-Known Member

    Joined:
    Feb 18, 2005
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Hi,
    is there a guide on how to use the new feature to suspend accounts in cpanel?

    I want to know what are the SSH commands to suspend the account for login in.

    Thanks in advance.

    Regards,
    Sergio
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    /scripts/suspendacct
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  4. Secmas

    Secmas Well-Known Member

    Joined:
    Feb 18, 2005
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Thank you, cPanelMichael for the info.

    I was looking for the corresponding SSH commands so I can create a shebang to do an automatic script to block compromised emails accounts.

    Do you mind to share the respective commands?

    Thanks a lot in advance.

    Regards,
    Sergio
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    There are no corresponding SSH commands, however you could develop a custom script that utilizes those UAPI functions and then run the custom script from the command line.

    Thank you.
     
Loading...

Share This Page