|
| ZCS Administrator Guide 8.0 |
| Network Edition |
The zmprov tool performs all provisioning tasks in Zimbra LDAP, including creating accounts, aliases, domains, COS, distribution lists, and calendar resources. Each operation is invoked through command-line options, each of which has a long name and a short name.The syntax is zmprov [cmd] [argument].The syntax for modify can include the prefix “+” or “-” so that you can make changes to the attributes affected and do not need to reenter attributes that are not changing.The following example would add the attribute zimbraZimletUserProperties with the value “blue” to user 1 and would not change the value of any other instances of that attribute.zmprov ma user1 +zimbraZimletUserProperties "com_company_testing:favoriteColor:blue"
allow replacement of safe-guarded multi-value attribute configured in localconfig key zmprov_saveguarded_attrs
Note: This command does not check the password age or history. zmprov ca joe@domain.com test123 displayName JSmith Note: After you rename an account, you should run a full backup for that account. zmbackup -f - <servername.com> -a <newaccountname@servername.com> Note: Passwords cannot included accented characters in the string. Example of accented characters that cannot be used: ã, é, í, ú, ü, ñ.
Note: Do not modify zimbraDomainRenameInfo manually. This is automatically updated when a domain is renamed.
Note: renameDomain can only be used with “zmprov -l/--ldap” See the zmprov Log Categories for a list of logging categories. Returns the list of servers that have zimbraReverseProxyLookupTarget=TRUE. Basically if a mailbox server is available for lookup requests from the proxy. Returns a list of all domains configured with ZimbraSSLCertificate zimbraVirtualHostname and zimbraVirtualIPAddress configured. This allows the proxy to configure a list of domains to serve customized/domain certificates for.
![]()
Then type zmloggerctl start, to start the logger.For example, zmprov gs example.com zimbraServiceEnabled=ldap to find out if the ldap service is enabled.
![]()
To modify the purge interval, set zimbraMailPurgeSleepInterval to the duration of time that the server should “sleep” between every two mailboxes. Type:X is the duration of time between mailbox purges; m represents minutes. You could also set <xh> for hours.
![]()
Modify zimbraNewMailNotification to customize the notification email template. A default email is sent from Postmaster notifying users that they have received mail in another mailbox. To change the template, you modify the receiving mailbox account. The variables areYou can specify which of the above variables appear in the Subject, From, or Body of the email. The following example is changing the appearance of the message in the body of the notification email that is received at name@domain.com. You can also change the template in a class of service, use zmprov mc. The command is written on one line.
![]()
zimbraBackupMode. Set it to be Auto-Grouped. The default is Standard.
![]()
zimbraBackupAutoGroupedInterval. Set this to the interval in either days or weeks that backup sessions should run for a group. The default is 1d. Backup intervals can be 1 or more days, entered as xd (1d); or 1 or more weeks, entered as xw (1w).
![]()
zimbraBackupAutoGroupedNumGroups. This the number of groups to spread mailboxes over. The default is 7 groups.
![]()
none. no conversation threading is performed.
![]()
subject. the message will be threaded based solely on its normalized subject.
![]()
strict. only the threading message headers (References, In-Reply-To, Message-ID, and Resent-Message-ID) are used to correlate messages. No checking of normalized subjects is performed.
![]()
references. the same logic as "strict" with the constraints slightly altered so that the non-standard Thread-Index header is considered when threading messages and that a reply message lacking References and In-Reply-To headers will fall back to using subject-based threading.
![]()
subjrefs. the same logic as "references" with the further caveat that changes in the normalized subject will break a thread in two.Run zmprov verifyIndex as a sanity check for the specified mailbox index. Diagnostic information is written to stdout. If problems are detected, a failure status is returned.If VerifyIndex reports that the index is corrupted, you can repair the mailbox index by running reIndexMailbox (rim).