Comandos para relatórios do Zimbra

Procedimentos: Logar-se com o usuário zimbra # su - zimbra Executar o programa ZMPROV # zmprov Dentro da interface do programa(linha de comando prov>), executar um dos comandos abaixos: Exemplo: prov> aaa info@cegas.com.br (Cria um alias de e-mail para “INFO” no domínio cegas.com.br)

************************************************************************************** addAccountAlias(aaa) {name@domain|id} {alias@domain} addAccountLogger(aal) {name@domain|id} {logging-category} {debug|info|warn|error} addDistributionListAlias(adla) {list@domain|id} {alias@domain} addDistributionListMember(adlm) {list@domain|id} {member@domain}+ autoCompleteGal(acg) {domain} {name} checkPasswordStrength(cps) {name@domain|id} {password} copyCos(cpc) {src-cos-name|id} {dest-cos-name} createAccount(ca) {name@domain} {password} [attr1 value1 [attr2 value2...]] createCalendarResource(ccr) {name@domain} {password} [attr1 value1 [attr2 value2...]] createCos(cc) {name} [attr1 value1 [attr2 value2...]] createDataSource(cds) {name@domain} {ds-type} {ds-name} [attr1 value1 [attr2 value2...]] createDistributionList(cdl) {list@domain} createDomain(cd) {domain} [attr1 value1 [attr2 value2...]] createServer(cs) {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...]] 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}

....]] getDistributionListMembership(gdlm) {name@domain|id} getDomain(gd) [-e] {domain|id} [attr1 [attr2..]] getDistributionList(gdl) {list@domain|id} [attr1 [attr2..]] getDomainInfo(gdi) name|id|virtualHostname {value} [attr1 [attr2...]] getConfig(gcf) {name} getCos(gc) {name|id} [attr1 [attr2..]] getSignatures(gsig) {name@domain|id} [arg1 [arg..]] getAllCos(gac) [-v] getAllDistributionLists(gadl) [{domain}] getAllDomains(gad) [-v] [-e] [attr1 [attr2.]] getFreebusyQueyeInfo(gfbqi) [{provider-name}] getMailboxInfo(gmi) {account} getQuotaUsage(gqu) {server} getServer(gs) [-e] {name|id} [attr1 [attr2...]] help(?) commands .]] getAllFbp(gafbp) [-v] getAllServers(gas) [-v] [-e] [service] getCalendarResource(gcr) {name@domain|id} [attr1 [attr2.....]] getAccountMembership(gam) {name@domain|id} getAllAccounts(gaa) [-v] [-e] [-s server] [{domain}] getAccountLoggers(gal) {name@domain|id} getAllAccountLoggers(gaal) {server} getAllAdminAccounts(gaaa) [-v] [-e] [attr1 [attr2......]] getDataSources(gds) {name@domain|id} [arg1 [arg2.exit(quit) flushCache(fc) {skin|locale|account|config|cos|domain|server|zimlet} [name1|id1 [name2|id2...]] getIdentities(gid) {name@domain|id} [arg1 [arg...]] generateDomainPreAuth(gdpa) {domain|id} {name} {name|id|foreignPrincipal} {timestamp|0} {expires| 0} generateDomainPreAuthKey(gdpak) [-f] {domain|id} getAccount(ga) [-e] {name@domain|id} [attr1 [attr2.]] getAllCalendarResources(gacr) [-v] [-e] [-s server] [{domain}] getAllConfig(gacf) [attr1 [attr2....

]] modifyCalendarResource(mcr) {name@domain|id} [attr1 value1 [attr2 value2...] removeAccountAlias(raa) {name@domain|id} {alias@domain} removeAccountLogger(ral) {name@domain|id} {logging-category} removeDistributionListAlias(rdla) {list@domain|id} {alias@domain} removeDistributionListMember(rdlm) {list@domain|id} {member@domain} 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} -.]] modifyServer(ms) {name|id} [attr1 value1 [attr2 value2....]] modifyDataSource(mds) {name@domain|id} {ds-name|ds-id} [attr1 value1 [attr2 value2.NOTE: renameDomain can only be used with "zmprov -l/--ldap" reIndexMailbox(rim) {name@domain|id} {action} [{reindex-by} {value1} [value2.a2....]] searchAccounts(sa) [-v] {ldap-query} [limit {limit}] [offset {offset}] [sortBy {attr}] [attrs {a1....] modifyCos(mc) {name|id} [attr1 value1 [attr2 value2.] modifyDomain(md) {domain|id} [attr1 value1 [attr2 value2.....]] modifyIdentity(mid) {name@domain|id} {identity-name} [attr1 value1 [attr2 value2..}] [sortAscending 0|1*] [domain {domain}] searchCalendarResources(scr) [-v] domain attr op value [attr op value..]] modifyDistributionList(mdl) {list@domain|id} attr1 value1 [attr2 value2.]] modifySignature(msig) {name@domain|id} {signature-name|signature-id} [attr1 value1 [attr2 value2..]] pushFreebusy(pfb) {domain|account-id} [account-id ...]] modifyConfig(mcf) attr1 value1 [attr2 value2..importNotebook(impn) {name@domain} {directory} {folder} initNotebook(in) [{name@domain}] initDomainNotebook(idn) {domain} [{name@domain}] modifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2.....] searchGal(sg) {domain} {name} 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) getAllMemcachedServers(gamcs) syncGal(syg) {domain} [{token}] Uenderson Ferrari .

Sign up to vote on this title
UsefulNot useful