Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com
huuphan.com. Powered by Blogger.

My blog about Open Source: Zimbra Mail Server,linux,bash script,centos,linux command...

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:
Lock and Unlock zimbra account from command line
Another command to check status account with zmaccts as below:
Lock and Unlock zimbra account from command line 2
Step 2: To Lock zimbra account [email protected]
$ zmprov ma [email protected] zimbraAccountStatus locked
The display as picture below:
Lock and Unlock zimbra account from command line3
To check account status after locked
Lock and Unlock zimbra account from command line4

Step 3: To Unlock zimbra account [email protected]
$ zmprov ma [email protected] zimbraAccountStatus active
The display as picture below:
Lock and Unlock zimbra account from command line5

Conclusion

Thought the article, you can use "Lock and Unlock zimbra account from command line" as above . I hope will this your helpful.

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com

1 Comments :

Wow :)
This is an incredible collection of ideas!
Waiting for more helpful pieces.
You would amazing to read a similar one here-
besttoolsbrand

Relay

This Blog is protected by DMCA.com