ZMProv : liste des commandes et raccourcis
L'outil peut être piloté avec des commandes complètes ou des raccourcis.
Voici la page https://wiki.zimbra.com/wiki/Zmprov :
Long Name Short Name Description Account Provisioning Commands addAccountAlias aaa {name@domain|id|adminName} {alias@domain} checkPasswordStrength cps {name@domain|id} {password} createAccount ca {name@domain} {password} [attribute1 value1 etc] createDataSource cds {name@domain} {ds-type} {ds-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 Syntax:{name@domain|id|adminName} deleteDataSource dds {name@domain|id} {ds-name|ds-id} deleteIdentity did {name@domain|id} {identity-name} deleteIdentity did {name@domain|id} {identity-name} deleteSignature dsig {name@domain|id} {signature-name} getAccount ga Syntax:{name@domain|id|adminName} getAccountMembership gam {name@domain|id} getAllAccounts gaa Syntax: [-v] [{domain}] getAllAdminAccounts gaaa Syntax: gaaa getDataSources gds {name@domain | id} [arg 1 [arg 2...]] getIdentities gid {name@domain | id} [arg 1 [arg 2...]] getSignatures gsig {name@domain | id} [arg 1 [arg 2...]] modifyAccount ma {name@domain|id|adminName} [attribute1 value1 etc] modifyDataSource mds {name@domain | id} {ds-name |ds-id} [attr 1 value 1 [attr2 value 2...]] modifyIdentity mid {name@domain |id} {identity-name} [attr 1 value 1 [attr 2 value 2...]] modifySignature msig {name@domain |id} {signature-name | signature-id} [attr 1 value 1 [attr 2 value 2...]] removeAccountAlias raa {name@domain|id|adminName} {alias@domain} renameAccount ra {name@domain|id} {newname@domain} setAccountCOS sac {name@domain|id|adminName} {cos-name|cos-id} setPassword sp {name@domain|id|adminName} {password} Calendar Resource Provisioning Commands createCalendarResource ccr {name@domain} [attr1 value1 [attr2 value2...]] deleteCalendarResource dcr {name@domain|id} getAllCalendarResources gacr [-v] [{domain}] getCalendarResource gcr {name@domain|id} modifyCalendarResource mcr {name@domain|id} [attr1 value1 {attr2 value2...]] renameCalendarResource rcr {name@domain|id} {newName@domain} searchCalendarResources scr [-v] domain attr op value {attr op value...] Free Busy Commands getAllFbp gafbp [-v] getFreebusyQueueInfo gfbqi [{provider-name}] pushFreebusy pfb {domain | account-id} [account-id...] Domain Provisioning Commands countAccount cta {domain|id} createAliasDomain cad {alias-domain-name} {local-domain-name|id} [attr1 value1 [attr2 value2...]] createDomain cd {domain} [attribute1 value1 etc] deleteDomain dd {domain|id} getDomain gd {domain|id} getDomainInfo gdi name|id|virtualHostname {value} [attr1 [attr2...]] getAllDomains gad [-v] modifyDomain md {domain|id} [attribute1 value1 etc] renameDomain rd {domain|id} {newDomain} COS Provisioning Commands copyCos cpc {src-cos-name|id} {dest-cos-name} createCos cc {name} [attribute1 value1 etc] deleteCos dc {name|id} getCos gc {name|id} getAllCos gac [-v] modifyCos mc {name|id} [attribute1 value1 etc] renameCos rc {name|id} {newName} Server Provisioning Commands createServer cs {name} [attribute1 value1 etc] deleteServer ds {name|id} getServer gs {name|id} getAllServers gas [-v] getAllReverseProxyBackends garpb modifyServer ms {name|id} [attribute1 value1 etc] getAllReverseProxyURLs garpu Used to publish into nginx.conf what servers should be used for reverse proxy lookup. getAllMtaAuthURLs gamau Used to publish into saslauthd.conf what servers should be used for saslauthd.conf MTA auth getAllMemcachedServers gamcs Used to list memcached servers (for nginix use). Config Provisioning Commands getAllConfig gacf [-v] getConfig gcf {name} modifyConfig mcf attr1 value1 Distribution List Provisioning Commands createDistributionList cdl {list@domain} addDistributionListMember adlm {list@domain|id} {member@domain} removeDistributionListMember rdlm {list@domain|id} getAlldistributionLists gadl [-v] get DistributionListmembership gdlm {name@domain|id} getDistributionList gdl {list@domain|id} modifyDistributionList mdl {list@domain|id} attr1 value1 {attr2 value2...} deleteDistributionList ddl {list@domain|id} addDistributionListAlias adla {list@domain|id} {alias@domain} removeDistributionListAlias rdla {list@domain|id} {alias@domain} renameDistributionList rdl {list@domain|id} {newName@domain} Zimbra Documents Provisioning Commands importNotebook impn {name@domain} {directory} {folder} impn joe@domain.com /opt/zimbra/wiki/template template initNotebook in [{name@domain}] initDomainNotebook idn {domain} [{name@domain}] Creates the domain Documents account idn domain.com domainwiki@domain.com UpdateTemplates ut [-h host] {template-directory} Mailbox Commands getMailboxInfo--- gmi {account} getQuotaUsage--- gqu {server} reIndexMailbox rim {name@domain|id} {action} [{reindex-by} {value1} [value2...]] RecalculateMailboxCounts rmc {name@domain|id} Logs addAccount Logger aal {name@domain|id} {logging-category} {debug|info|warn|error} getAccountLoggers gal [-s/--server hostname] {name@domain|id} {logging-category} {debug|info|warn|error} getAllAccountLoggers gaal [-s/--server hostname] removeAccountLogger ral [-s/ --server hostname] {name@domain|id} {logging-category} Search searchGAL sg {domain} {name} autoCompleteGal acg {domain} {name} searchAccounts sa [-v] {ldap-query} [limit] [offset] [sortBy {attribute} [sortAscending 0|1] [domain {domain}] Share Provisioning Commands getPublishedDistributionListShareInfo gpdlsi {dl-name|dl-id} [{owner-name|owner-id}] getShareInfo gsi {owner-name|owner-id} publishDistribtionListShareInfo pdlsi {+|-} {dl-name@domain|id} {owner-name|owner-id} [{folder-path|folder-id}] Miscellaneous Provisioning Commands describe desc [[-v] [-ni] [{entry-type}]] | [-a {attribute-name}] generateDomainPreAuthKey gdpak {domain|id} generateDomainPreAuth gdpa {domain|id} {name} {name|id|foreignPrincipal} {timestamp|0} {expires|0} syncGal syg {domain} [{token}] flushCache fc [skin|local|account|config|cos|domain|server|zimlet} [name1|id] getAccountLogger gal [-s /--server hostname] {name@domain | id} Commands specific to Zimbra IMAP/POP proxy getAllReverseProxyURLs garpu Used to publish into nginx.conf what servers should be used for reverse proxy lookup. getAllMtaAuthURLs gamau Used to publish into saslauthd.conf what servers should be used for saslauthd.conf MTA auth getAllMemcachedServers gamcs Used to list memcached servers (for nginix use).