Zimbra CLI

Start, stop, status of the Zimbra servers.
zmcontrol
Performs mailbox management tasks
zmmailbox
Performs all provisioning tasks in Zimbra LDAP,
zmprov
example: zmprov sp adminname@domain.com password
zmprov ca namauser@domain.com password
zmprov sp namauser@domain.com New_Password
When you create an account, you may want to pre-create some tags and folders. You can invoke zmmailbox inside of zmprov by using “selectMailbox(sm)”

root@efrizal-laptop:/opt/zimbra# /opt/zimbra/bin/zmprov
prov> ca efri@mail.fery.ok password
953df672-097f-4b5c-b152-0d6e33232026

prov> sm efri@mail.fery.ok
mailbox: efri@mail.fery.ok, size: 0 B, messages: 0, unread: 0
mbox efri@mail.fery.ok>

To find the mailbox size for an account
zimbra@efrizal-laptop:~$ zmmailbox -z-m imi@mail.fery.ok gms 1.60 MB Start, stop, or find the status of zimbra LDAP ldap Perform a search on an LDAP server ldapsearch Start, stop, or find the status of the MySql logmysql Start, stop the SQL instance for the logger logmysql.server Send myslqadmin commands to the logger mysql logmysqladmin Start, stop, find the status of the mailboxd server mailboxd Enters interactive command-line MySQL session mysql Start, stop the SQL instance for the mailbox mysql.server Send admin commands to MySQL mysqladmin Postfix command to view or modify the postfix postconf Start, stop, reload, flush, check, upgrade- postfix Lists the accounts and gives the status of zmaccts Start, stop, or find the status of the Amavis-D zmamavisdctl Sart, stop, reload, status for anti-spam service zmantispamctl Start, stop, reload, status for the anti-virus service zmantivirusctl Start, stop, status of Apache service (for spell zmapachectl Performs full backups and incremental backups zmbackup Stops a backup that is in process. zmbackupabort Find a specific full backup set zmbackupquery Start, stop, or find the status of Clam AV zmclamdctl Clean iPlanet ICS calendar files zmcleaniplanetics Start, stop, the conversion server or find the zmconvertctl manage self-signed and commercial certificates zmcertmgr General information about the server zmdumpenv Fixes calendar entries with incorrect TZ offset zmfixtz Find the hostname of the Zimbra server zmhostname Start, stop and status of a HSM session. zmhsm Execute Java with Zimbra-specific environment zmjava Changes the LDAP password zmldappasswd View and install your Zimbra license zmlicense testing tool zmlmtpinject Used to set or get the local configuration of a zmlocalconfig Zimbra server Start, stop, reload, or find the status of the Zimbra zmloggerctl Start, stop, status of the swatch that is monitoring zmlogswatchctl logging Start, stop, reload, or find the status of the zmmailboxdctl Used to move selected mailboxes from one zmmailboxmove zibra server to another. Search across mailboxes to find messages and zmmboxsearch example: zmmboxsearch -m user1@yourdomain.com,user2@yourdomain.com -q “in:inbox” -d /var/tmp Trace messages zmmsgtrace Start, stop, or find the status of the MTA zmmtaconfigctl Start, stop, or find the status of the MTA zmmtactl Change logger MySQL password zmmylogpasswd Change MySQL passwords zmmypasswd Status of mailbox SQL instance zmmysqlstatus Start, stop, or find the status of the perdition IMAP zmperditionctl Start or stop IMAP proxy service zmproxyctl Performs full restores and incremental restores zmrestore Restore accounts from the LDAP backup zmrestoreldap Performs full restore when the Zimbra server zmrestoreoffline Start, stop, or find the status of saslauthd zmsaslauthdctl Schedule backups zmschedulebackup Used for other zm scripts, do not use zmshutil Retrieve spam and relocate it to a specified directory zmspamextract Start, stop, or find the status of the spell check zmspellctl server Generate Zimbra’s SSH encryption keys zmsshkeygen

This entry was posted on Friday, March 20th, 2009 at 9:36 am and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Post a Comment