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 huupv02@mail.huuphan.com . The command line as below running su - zimbra. Now, let's start!
Step 1: Checking status account huupv02@mail.huuphan.com as below:
Another command to check status account with zmaccts as below:
Step 2: To Lock zimbra account huupv02@mail.huuphan.com
To check account status after locked
Step 3: To Unlock zimbra account huupv02@mail.huuphan.com
To login your Mailbox system. To perform some command below to lock and unlock zimbra account. For example, I will lock and unlock account huupv02@mail.huuphan.com . The command line as below running su - zimbra. Now, let's start!
Lock and Unlock zimbra account
Step 1: Checking status account huupv02@mail.huuphan.com as below:
$ zmprov ga huupv02mail.huuphan.com | grep zimbraAccountStatusThe display as below:
Another command to check status account with zmaccts as below:
Step 2: To Lock zimbra account huupv02@mail.huuphan.com
$ zmprov ma huupv02@mail.huuphan.com zimbraAccountStatus lockedThe display as picture below:
To check account status after locked
Step 3: To Unlock zimbra account huupv02@mail.huuphan.com
$ zmprov ma huupv02@mail.huuphan.com zimbraAccountStatus activeThe display as picture below:
Wow :)
ReplyDeleteThis is an incredible collection of ideas!
Waiting for more helpful pieces.
You would amazing to read a similar one here-
besttoolsbrand