O provisionador do Zimbra é o utilitário por onde você pode efetuar todas as configurações presentes no console administrativo.
Opções:
zimbra@mail:~$ zmprov help commands addAccountAlias(aaa) {name@domain|id} {alias@domain} addAccountLogger(aal) [-s/--server hostname] {name@domain|id} {logging-category} {trace|debug|info|warn|error} addDistributionListAlias(adla) {list@domain|id} {alias@domain} addDistributionListMember(adlm) {list@domain|id} {member@domain}+ autoCompleteGal(acg) {domain} {name} autoProvControl(apc) {start|status|stop} checkPasswordStrength(cps) {name@domain|id} {password} checkRight(ckr) {target-type} [{target-id|target-name}] {grantee-id|grantee-name (note:can only check internal user)} {right} copyCos(cpc) {src-cos-name|id} {dest-cos-name} countAccount(cta) {domain|id} countObjects(cto) {userAccount|account|alias|dl|domain|cos|server|calresource|accountOnUCService|cosOnUCService|domainOnUCService|internalUserAccount|internalArchivingAccount} [-d {domain|id}] [-u {UCService|id}] createAccount(ca) {name@domain} {password} [attr1 value1 [attr2 value2...]] createAliasDomain(cad) {alias-domain-name} {local-domain-name|id} [attr1 value1 [attr2 value2...]] createBulkAccounts(cabulk) {domain} {namemask} {number of accounts to create} createCalendarResource(ccr) {name@domain} {password} [attr1 value1 [attr2 value2...]] createCos(cc) {name} [attr1 value1 [attr2 value2...]] createDataSource(cds) {name@domain} {ds-type} {ds-name} zimbraDataSourceEnabled {TRUE|FALSE} zimbraDataSourceFolderId {folder-id} [attr1 value1 [attr2 value2...]] createDistributionList(cdl) {list@domain} createDynamicDistributionList(cddl) {list@domain} createDomain(cd) {domain} [attr1 value1 [attr2 value2...]] createServer(cs) {name} [attr1 value1 [attr2 value2...]] createUCService(cucs) {name} [attr1 value1 [attr2 value2...]] createIdentity(cid) {name@domain} {identity-name} [attr1 value1 [attr2 value2...]] createSignature(csig) {name@domain} {signature-name} [attr1 value1 [attr2 value2...]] createXMPPComponent(cxc) {short-name} {domain} {server} {classname} {category} {type} [attr value1 [attr2 value2...]] deleteAccount(da) {name@domain|id} deleteCalendarResource(dcr) {name@domain|id} deleteCos(dc) {name|id} deleteDataSource(dds) {name@domain|id} {ds-name|ds-id} deleteDistributionList(ddl) {list@domain|id} deleteDomain(dd) {domain|id} deleteIdentity(did) {name@domain|id} {identity-name} deleteSignature(dsig) {name@domain|id} {signature-name} deleteServer(ds) {name|id} deleteUCService(ducs) {name|id} deleteXMPPComponent(dxc) {xmpp-component-name} describe(desc) [[-v] [-ni] [{entry-type}]] | [-a {attribute-name}] exit(quit) flushCache(fc) [-a] {acl|locale|skin|uistrings|license|all|account|config|globalgrant|cos|domain|galgroup|group|mime|server|zimlet|<extension-cache-type>} [name1|id1 [name2|id2...]] generateDomainPreAuth(gdpa) {domain|id} {name|id|foreignPrincipal} {by} {timestamp|0} {expires|0} generateDomainPreAuthKey(gdpak) [-f] {domain|id} getAccount(ga) [-e] {name@domain|id} [attr1 [attr2...]] getDataSources(gds) {name@domain|id} [arg1 [arg2...]] getIdentities(gid) {name@domain|id} [arg1 [arg...]] getSignatures(gsig) {name@domain|id} [arg1 [arg...]] getAccountMembership(gam) {name@domain|id} getAllAccounts(gaa) [-v] [-e] [-s server] [{domain}] -- NOTE: getAllAccounts can only be used with "zmprov -l/--ldap" getAccountLoggers(gal) [-s/--server hostname] {name@domain|id} getAllAccountLoggers(gaal) [-s/--server hostname] getAllAdminAccounts(gaaa) [-v] [-e] [attr1 [attr2...]] getAllCalendarResources(gacr) [-v] [-e] [-s server] [{domain}] getAllConfig(gacf) [attr1 [attr2...]] getAllCos(gac) [-v] getAllDistributionLists(gadl) [-v] [{domain}] getAllDomains(gad) [-v] [-e] [attr1 [attr2...]] getAllEffectiveRights(gaer) {grantee-type} {grantee-id|grantee-name} [expandSetAttrs] [expandGetAttrs] getAllFbp(gafbp) [-v] getAllRights(gar) [-v] [-t {target-type}] [-c ALL|ADMIN|USER] getAllServers(gas) [-v] [-e] [service] getAllUCServices(gaucs) [-v] getAllXMPPComponents(gaxcs) getAuthTokenInfo(gati) {auth-token} getCalendarResource(gcr) {name@domain|id} [attr1 [attr2...]] getConfig(gcf) {name} getCos(gc) {name|id} [attr1 [attr2...]] getDistributionList(gdl) {list@domain|id} [attr1 [attr2...]] getDistributionListMembership(gdlm) {name@domain|id} getDomain(gd) [-e] {domain|id} [attr1 [attr2...]] getDomainInfo(gdi) name|id|virtualHostname {value} [attr1 [attr2...]] getConfigSMIMEConfig(gcsc) [configName] getDomainSMIMEConfig(gdsc) name|id [configName] getEffectiveRights(ger) {target-type} [{target-id|target-name}] {grantee-id|grantee-name} [expandSetAttrs] [expandGetAttrs] getCreateObjectAttrs(gcoa) {target-type} {domain-id|domain-name} {cos-id|cos-name} {grantee-id|grantee-name} getFreebusyQueueInfo(gfbqi) [{provider-name}] getGrants(gg) [-t {target-type} [{target-id|target-name}]] [-g {grantee-type} {grantee-id|grantee-name} [{0|1 (whether to include grants granted to groups the grantee belongs)}]] getMailboxInfo(gmi) {account} getQuotaUsage(gqu) {server} getRight(gr) {right} [-e] (whether to expand combo rights recursively) getRightsDoc(grd) [java packages] getServer(gs) [-e] {name|id} [attr1 [attr2...]] getUCService(gucs) [-e] {name|id} [attr1 [attr2...]] getShareInfo(gsi) {owner-name|owner-id} getSpnegoDomain(gsd) getXMPPComponent(gxc) {name|id} [attr1 [attr2...]] grantRight(grr) {target-type} [{target-id|target-name}] {grantee-type} [{grantee-id|grantee-name} [secret]] {right} help(?) commands modifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2...]] modifyCalendarResource(mcr) {name@domain|id} [attr1 value1 [attr2 value2...]] modifyConfig(mcf) attr1 value1 [attr2 value2...] modifyCos(mc) {name|id} [attr1 value1 [attr2 value2...]] modifyDataSource(mds) {name@domain|id} {ds-name|ds-id} [attr1 value1 [attr2 value2...]] modifyDistributionList(mdl) {list@domain|id} attr1 value1 [attr2 value2...] modifyDomain(md) {domain|id} [attr1 value1 [attr2 value2...]] modifyConfigSMIMEConfig(mcsc) configName [attr2 value2...]] modifyDomainSMIMEConfig(mdsc) name|id configName [attr2 value2...]] modifyIdentity(mid) {name@domain|id} {identity-name} [attr1 value1 [attr2 value2...]] modifySignature(msig) {name@domain|id} {signature-name|signature-id} [attr1 value1 [attr2 value2...]] modifyServer(ms) {name|id} [attr1 value1 [attr2 value2...]] modifyUCService(mucs) {name|id} [attr1 value1 [attr2 value2...]] modifyXMPPComponent(mxc) {name@domain} [attr1 value1 [attr value2...]] pushFreebusy(pfb) [account-id ...] pushFreebusyDomain(pfbd) {domain} purgeAccountCalendarCache(pacc) {name@domain|id} [...] purgeFreebusyQueue(pfbq) [{provider-name}] recalculateMailboxCounts(rmc) {name@domain|id} removeAccountAlias(raa) {name@domain|id} {alias@domain} removeAccountLogger(ral) [-s/--server hostname] [{name@domain|id}] [{logging-category}] removeDistributionListAlias(rdla) {list@domain|id} {alias@domain} removeDistributionListMember(rdlm) {list@domain|id} {member@domain} removeConfigSMIMEConfig(rcsc) configName removeDomainSMIMEConfig(rdsc) name|id configName renameAccount(ra) {name@domain|id} {newName@domain} renameCalendarResource(rcr) {name@domain|id} {newName@domain} renameCos(rc) {name|id} {newName} renameDistributionList(rdl) {list@domain|id} {newName@domain} renameDomain(rd) {domain|id} {newDomain} -- NOTE: renameDomain can only be used with "zmprov -l/--ldap" renameUCService(rucs) {name|id} {newName} reIndexMailbox(rim) {name@domain|id} {start|status|cancel} [{types|ids} {type or id} [,type or id...]] compactIndexMailbox(cim) {name@domain|id} {start|status} verifyIndex(vi) {name@domain|id} getIndexStats(gis) {name@domain|id} revokeRight(rvr) {target-type} [{target-id|target-name}] {grantee-type} [{grantee-id|grantee-name}] {right} searchAccounts(sa) [-v] {ldap-query} [limit {limit}] [offset {offset}] [sortBy {attr}] [sortAscending 0|1*] [domain {domain}] searchCalendarResources(scr) [-v] domain attr op value [attr op value...] -- NOTE: searchCalendarResources can only be used with "zmprov -l/--ldap" searchGal(sg) {domain} {name} [limit {limit}] [offset {offset}] [sortBy {attr}] selectMailbox(sm) {account-name} [{zmmailbox commands}] setAccountCos(sac) {name@domain|id} {cos-name|cos-id} setPassword(sp) {name@domain|id} {password} getAllMtaAuthURLs(gamau) getAllReverseProxyURLs(garpu) getAllReverseProxyBackends(garpb) getAllReverseProxyDomains(garpd) -- NOTE: getAllReverseProxyDomains can only be used with "zmprov -l/--ldap" getAllMemcachedServers(gamcs) reloadMemcachedClientConfig(rmcc) all | mailbox-server [...] getMemcachedClientConfig(gmcc) all | mailbox-server [...] syncGal(syg) {domain} [{token}] updatePresenceSessionId(upsid) {UC service name or id} {app-username} {app-password} resetAllLoggers(rlog) [-s/--server hostname]
O parâmetro -h exibe as opções de uso e a sintaxe do comando.
zimbra@mail:~$ zmprov -h zmprov [args] [cmd] [cmd-args ...] -h/--help display usage -f/--file use file as input stream -s/--server {host}[:{port}] server hostname and optional port -l/--ldap provision via LDAP instead of SOAP -L/--logpropertyfile log4j property file, valid only with -l -a/--account {name} account name to auth as -p/--password {pass} password for account -P/--passfile {file} read password from file -z/--zadmin use zimbra admin name/password from localconfig for admin/password -y/--authtoken {authtoken} use auth token string (has to be in JSON format) from command line -Y/--authtokenfile {authtoken file} read auth token (has to be in JSON format) from a file -v/--verbose verbose mode (dumps full exception stack trace) -d/--debug debug mode (dumps SOAP messages) -m/--master use LDAP master (only valid with -l) -r/--replace allow replacement of safe-guarded multi-valued attributes configured in localconfig key "zmprov_safeguarded_attrs" zmprov is used for provisioning. Try: zmprov help account help on account-related commands zmprov help calendar help on calendar resource-related commands zmprov help commands help on all commands zmprov help config help on config-related commands zmprov help cos help on COS-related commands zmprov help domain help on domain-related commands zmprov help freebusy help on free/busy-related commands zmprov help list help on distribution list-related commands zmprov help log help on logging commands zmprov help misc help on misc commands zmprov help mailbox help on mailbox-related commands zmprov help reverseproxy help on reverse proxy related commands zmprov help right help on right-related commands zmprov help search help on search-related commands zmprov help server help on server-related commands zmprov help ucservice help on ucservice-related commands zmprov help share help on share related commands
Exemplo:
zimbra@mail:~$ zmprov gad
exemplo.net
exemplo.org
zimbra@mail:~$ zmprov help commands | grep "(gad)" getAllDomains(gad) [-v] [-e] [attr1 [attr2...]]