SSH command to suspend an email account in Fifty4?
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
-
/scripts/suspendacct 0 -
I think he's speaking of this new Feature: 54 Release Notes - Documentation - cPanel Documentation 0 -
Hello :) UAPI functions are available if you prefer to suspend an email account through the command line: UAPI Functions - Email::suspend_incoming - Software Development Kit - cPanel Documentation UAPI Functions - Email::suspend_login - Software Development Kit - cPanel Documentation Thank you. 0 -
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 0 -
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. 0
Please sign in to leave a comment.
Comments
5 comments