Lock and Unlock zimbra account from command line
How to Lock and Unlock zimbra account from command line. some account sending email spam, you are administrator to need lock account from command line. To login your Mailbox system. To perform some command below to lock and unlock zimbra account. For example, I will lock and unlock account [email protected] . The command line as below running su - zimbra . Now, let's start! Lock and Unlock zimbra account Step 1: Checking status account [email protected] as below: $ zmprov ga huupv02mail.huuphan.com | grep zimbraAccountStatus The display as below: Another command to check status account with zmaccts as below: Step 2: To Lock zimbra account [email protected] $ zmprov ma [email protected] zimbraAccountStatus locked The display as picture below: To check account status after locked Step 3: To Unlock zimbra account [email protected] $ zmprov ma [email protected] zimbraAccountStatus active The display as picture belo