ZCS Administrator's Guide, Network Edition 4.5, Rev 2 11/07
Table of Contents Previous Next Index


Appendix A   Command-Line Utilities : zmmailbox

zmmailbox
Short Name
<arg> File in which the configuration is stored
Edit the configuration file, change keys and values specified. The [args] is in the key=value form.
Edit the keys whose change is known to be potentially dangerous
<arg> Shows the values in one of these formats: plain (default), xml, shell, nokey.
Shows the values for only those keys listed in the [args] that have been changed from their defaults
This option is used with the edit option. Specified key is set to a random password string.
Removes the local setting for a variable, which causes it to fallback to the default
The zmmailbox tool is used for mailbox management. The command can help administrators provision new mailboxes along with accounts, debug issues with a mailbox, and help with migrations.
You can invoke the zmmailbox command from within the zmprov command. You enter selectMailbox within zmprov to access the zmmailbox command connected to that specified mailbox. You can then enter zmmailbox commands until you type exit. Exit returns you to zmprov. This is useful when you want to create accounts and also pre-create some folders, tags, or saved searches at the same time.
Syntax
zmmailbox [args] [cmd] [cmd-args ...]
Description
 
Long Name
http[s]://{host}[:{port}] server hostname and optional port. Must use admin port with -z/-a
--account {name}
--zadmin
use zimbra admin name/password from localconfig for admin/password
--mailbox
--password {pass}
--passfile {file}
--verbose
Specific CLI tools are available for the different components of a mailbox. Usage is described in the CLI help for the following
 
Examples
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)”
 

Appendix A   Command-Line Utilities : zmmailbox

Table of Contents Previous Next Index
ZCS Administrator's Guide, Network Edition 4.5, Rev 2 11/07
Copyright © 2007 Zimbra Inc.