ZCS Administrator's Guide Network Edition 6.0.8
Table of Contents Previous Next Index


Appendix A Command-Line Utilities : Zimbra CLI Commands : zmmailbox

zmmailbox
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
 
Short Name
http[s]://{host}[:{port}] server hostname and optional port. Must use admin port with -z/-a
use zimbra admin name/password from localconfig for admin/password
--authtoken (authtoken)
use authtoken string (has to be in JSON format) from command line
--authtoken (authtoken file)
use authtoken string (has be in JSON format) from command line
(proto|req-proto/response-proto) specify request/response protocol [soap1, soap12, json]
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 : Zimbra CLI Commands : zmmailbox

Table of Contents Previous Next Index
ZCS Administrator's Guide Network Edition 6.0.8
Copyright © 2010 Zimbra Inc.