change password expiry in zimbra mail account

To change the password expiry time for a zimbra mail account, please follow the steps below.

[zimbra@geo ~]$ zmprov ma geo@geobaby.in zimbraPasswordMaxAge 36500

This modifies the value. To see if the new value is set, use the command:

[zimbra@geo~]$ zmprov ga geo@geobaby.in zimbraPasswordMaxAge
# name geo@geobaby.in
zimbraPasswordMaxAge: 36500

This can also be done from admin panel, goto account >> edit >> advanced >>  Maximum password age (Days).

http://www.zimbra.com/forums/administrators/35696-password-expiry-email-notification.html

Install Zimlets in Zimbra (ZCS)

Zimlets are delivered as a zip file that includes all the files necessary to run the Zimlet. The zip file should be copied to the Zimbra servers to deploy the Zimlet to users.

Deployment and management of Zimlets is only from the command line (CLI).

To deploy a Zimlet to the default COS

Copy the zip file to the /opt/zimbra/zimlets directory.

Type the following commands as zimbra user:

zmzimletctl install zimlet_name.zip
zmzimletctl deploy zimlet_name.zip
zmzimletctl enable zimlet_name

zmzimletctl info zimlet_name  will give you the information about the zimlet you have installed.
zmzimletctl listZimlets will list all the zimlets installed in the system.

To uninstall zimlets, you can use the following commands.

zmzimletctl disable zimlet
zmzimletctl undeploy zimlet

This will uninstall the zimlets from the zimbra.

Ref: Zimlets

Zimbra PreAuth Keys

Preauth stands for pre-authentication, and is a mechanism to enable a trusted third party to vouch for a user’s identity. For example, if a user has already signed into a portal and wants to enter the mail application, they should not have to be prompted again for their password.

You can create preauth key by the following command.

zmprov gdpak domain.com

It is stored in a zimbra attribute. You can get it by the command,

zmprov getDomain testdomain.com zimbraPreAuthKey

If this returns null, then preauth key is not generated earlier. Else, it will return the preauth key of the domain.

More details can be read from http://wiki.zimbra.com/wiki/Preauth

Reset Zimbra Admin Password

Sometimes you may need to reset the password of the admin account in Zimbra from CLI.

To get the list of all administrators in Zimbra, you can use:

su – zimbra

zmprov gaaa

To reset the password of the admin account, use:

zmprov sp <admin@domain.com> <your desired password>

Hope this will help you all.