zimbra mailbox相关的命令

zmmailbox -z -m [email protected]
mailbox: [email protected], size: 56.76 MB, messages: 544, unread: 3
authenticated as [email protected]

mbox [email protected]> ls
ERROR: zclient.CLIENT_ERROR (Unknown command: (ls) Type: ‘help commands‘ for a list)
mbox 123tzx.com.cn> help
 zmmailbox is used for mailbox management. Try:

     zmmailbox help admin           help on admin-related commands
     zmmailbox help account         help on account-related commands
     zmmailbox help appointment     help on appoint-related commands
     zmmailbox help commands        help on all commands
     zmmailbox help contact         help on contact-related commands
     zmmailbox help conversation    help on conversation-related commands
     zmmailbox help filter          help on filter-realted commnds
     zmmailbox help folder          help on folder-related commands
     zmmailbox help item            help on item-related commands
     zmmailbox help message         help on message-related commands
     zmmailbox help misc            help on misc commands
     zmmailbox help right           help on right commands
     zmmailbox help search          help on search-related commands
     zmmailbox help tag             help on tag-related commands

mbox [email protected]> zmmailbox help commands 
ERROR: zclient.CLIENT_ERROR (Unknown command: (zmmailbox) Type: ‘help commands‘ for a list)
mbox [email protected]> help commands           

  addFilterRule(afrl)          [opts] {name}  [*active|inactive] [any|*all] {conditions}+ {actions}+
    -a/--after <arg>             add after filter-name
    -b/--before <arg>            add before filter-name
    -f/--first                   add as first filter rule
    -l/--last                    add as last filter rule

  addOutgoingFilterRule(aofrl) [opts] {name}  [*active|inactive] [any|*all] {conditions}+ {actions}+
    -a/--after <arg>             add after filter-name
    -b/--before <arg>            add before filter-name
    -f/--first                   add as first filter rule
    -l/--last                    add as last filter rule

  addMessage(am)               [opts] {dest-folder-path} {filename-or-dir} [{filename-or-dir} ...]
    -T/--tags <arg>              list of tag ids/names
    -d/--date <arg>              received date (msecs since epoch)
    -F/--flags <arg>             flags
    --noValidation               don‘t validate file content

  adminAuthenticate(aa)        [opts] {admin-name} {admin-password}
    -u/--url <arg>               url to connect to

  authenticate(a)              [opts] {auth-account-name} {password} [target-account-name]
    -u/--url <arg>               url to connect to

  autoComplete(ac)             [opts] {query}
    -v/--verbose                 verbose output

  autoCompleteGal(acg)         [opts] {query}
    -v/--verbose                 verbose output

  checkRight(ckr)              [opts] {name} {right}
    -v/--verbose                 verbose output

  createContact(cct)           [opts] [attr1 value1 [attr2 value2...]]
    -T/--tags <arg>              list of tag ids/names
    -f/--folder <arg>            folder-path-or-id
    -i/--ignore                  ignore unknown contact attrs

  createFolder(cf)             [opts] {folder-path}
    -c/--color <arg>             color
    -u/--url <arg>               url to connect to
    -V/--view <arg>              default type for folder (appointment,contact,conversation,document,message,task,wiki)
    -F/--flags <arg>             flags

  createIdentity(cid)          {identity-name} [attr1 value1 [attr2 value2...]]

  createMountpoint(cm)         [opts] {folder-path} {owner-id-or-name} {remote-item-id-or-path} [{reminder-enabled (0*|1)}]
    -c/--color <arg>             color
    -V/--view <arg>              default type for folder (appointment,contact,conversation,document,message,task,wiki)
    -F/--flags <arg>             flags

  createSearchFolder(csf)      [opts] {folder-path} {query}
    -s/--sort <arg>              sort order TODO
    -c/--color <arg>             color
    -t/--types <arg>             list of types to search for (message,conversation,contact,appointment,document,task,wiki)

  createSignature(csig)        {signature-name} [signature-value}

  createTag(ct)                [opts] {tag-name}
    -c/--color <arg>             color

  deleteContact(dct)           {contact-ids}

  deleteConversation(dc)       {conv-ids}

  deleteItem(di)               {item-ids}

  deleteIdentity(did)          {identity-name}

  deleteFilterRule(dfrl)       {name}

  deleteOutgoingFilterRule(dofrl) {name}

  deleteFolder(df)             {folder-path}

  deleteMessage(dm)            {msg-ids}

  deleteSignature(dsig)        {signature-name|signature-id}

  deleteTag(dt)                {tag-name}

  dumpsterDeleteItem(ddi)      {item-ids}

  emptyDumpster                

  emptyFolder(ef)              {folder-path}

  exit(quit)                   

  flagContact(fct)             {contact-ids} [0|1*]

  flagConversation(fc)         {conv-ids} [0|1*]

  flagItem(fi)                 {item-ids} [0|1*]

  flagMessage(fm)              {msg-ids} [0|1*]

  getAllContacts(gact)         [opts] [attr1 [attr2...]]
    -v/--verbose                 verbose output
    -f/--folder <arg>            folder-path-or-id

  getAllFolders(gaf)           [opts] 
    -v/--verbose                 verbose output

  getAllTags(gat)              [opts] 
    -v/--verbose                 verbose output

  getAppointmentSummaries(gaps) [opts] {start-date-spec} {end-date-spec} {folder-path}
    -v/--verbose                 verbose output

  getContacts(gct)             [opts] {contact-ids} [attr1 [attr2...]]
    -v/--verbose                 verbose output

  getConversation(gc)          [opts] {conv-id}
    -v/--verbose                 verbose output

  getIdentities(gid)           [opts] 
    -v/--verbose                 verbose output

  getFilterRules(gfrl)         

  getOutgoingFilterRules(gofrl) 

  getFolder(gf)                [opts] {folder-path}
    -v/--verbose                 verbose output

  getFolderRequest(gfr)        [opts] {folder-id}
    -v/--verbose                 verbose output

  getFolderGrant(gfg)          [opts] {folder-path}
    -v/--verbose                 verbose output

  getMessage(gm)               [opts] {msg-id}
    -v/--verbose                 verbose output

  getMailboxSize(gms)          [opts] 
    -v/--verbose                 verbose output

  getRights(gr)                [opts] [right1 [right2...]]
    -v/--verbose                 verbose output

  getRestURL(gru)              [opts] {relative-path}
    -u/--url <arg>               url to connect to
    --startTime <arg>            start time for ics export
    --endTime <arg>              end time for ics export
    -o/--output <arg>            output filename

  getSignatures(gsig)          [opts] 
    -v/--verbose                 verbose output

  grantRight(grr)              {account {name}|group {name}|domain {name}||all|public|guest {email} [{password}]|key {email} [{accesskey}] {[-]right}}

  help(?)                      [opts] commands
    -v/--verbose                 verbose output

  importURLIntoFolder(iuif)    {folder-path} {url}

  listRights(lr)               [opts] 
    -v/--verbose                 verbose output

  markConversationRead(mcr)    {conv-ids} [0|1*]

  markConversationSpam(mcs)    {conv} [0|1*] [{dest-folder-path}]

  markItemRead(mir)            {item-ids} [0|1*]

  markFolderRead(mfr)          {folder-path}

  markMessageRead(mmr)         {msg-ids} [0|1*]

  markMessageSpam(mms)         {msg} [0|1*] [{dest-folder-path}]

  markTagRead(mtr)             {tag-name}

  modifyContactAttrs(mcta)     [opts] {contact-id} [attr1 value1 [attr2 value2...]]
    -r/--replace                 replace contact (default is to merge)
    -i/--ignore                  ignore unknown contact attrs

  modifyFilterRule(mfrl)       {name} [*active|inactive] [any|*all] {conditions}+ {actions}+

  modifyOutgoingFilterRule(mofrl) {name} [*active|inactive] [any|*all] {conditions}+ {actions}+

  modifyFolderChecked(mfch)    {folder-path} [0|1*]

  modifyFolderColor(mfc)       {folder-path} {new-color}

  modifyFolderExcludeFreeBusy(mfefb) {folder-path} [0|1*]

  modifyFolderFlags(mff)       {folder-path} {folder-flags}

  modifyFolderGrant(mfg)       {folder-path} {account {name}|group {name}|cos {name}|domain {name}|all|public|guest {email}|key {email} [{accesskey}] {permissions|none}}

  modifyFolderURL(mfu)         {folder-path} {url}

  modifyIdentity(mid)          {identity-name} [attr1 value1 [attr2 value2...]]

  modifyItemFlags(mif)         {item-ids} {item-flags}

  modifyMountpointEnableSharedReminder(mmesr) {mountpoint-path} {0|1}

  modifySignature(msig)        {signature-name|signature-id} {value}

  modifyTagColor(mtc)          {tag-name} {tag-color}

  moveContact(mct)             {contact-ids} {dest-folder-path}

  moveConversation(mc)         {conv-ids} {dest-folder-path}

  moveItem(mi)                 {item-ids} {dest-folder-path}

  moveMessage(mm)              {msg-ids} {dest-folder-path}

  noOp(no)                     

  postRestURL(pru)             [opts] {relative-path} {file-name}
    -c/--contentType <arg>       content-type
    -u/--url <arg>               url to connect to
    -i/--ignore                  ignore and continue on error during ics import
    --preserveAlarms             preserve existing calendar alarms during ics import (default is to use alarms in ics file)

  recoverItem(ri)              {item-ids} {dest-folder-path}

  renameFolder(rf)             {folder-path} {new-folder-path}

  renameSignature(rsig)        {signature-name|signature-id} {new-name}

  renameTag(rt)                {tag-name} {new-tag-name}

  revokeRight(rvr)             {account {name}|group {name}|domain {name}||all|public|guest {email} [{password}]|key {email} [{accesskey}] {[-]right}}

  search(s)                    [opts] {query}
    -p/--previous                previous page of search results
    -s/--sort <arg>              sort order TODO
    -c/--current                 current page of search results
    -t/--types <arg>             list of types to search for (message,conversation,contact,appointment,document,task,wiki)
    -v/--verbose                 verbose output
    -l/--limit <arg>             max number of results to return (1-1000, default=25)
    --dumpster                   search in dumpster
    -n/--next                    next page of search results

  searchConv(sc)               [opts] {conv-id} {query}
    -p/--previous                previous page of search results
    -s/--sort <arg>              sort order TODO
    -c/--current                 current page of search results
    -t/--types <arg>             list of types to search for (message,conversation,contact,appointment,document,task,wiki)
    -v/--verbose                 verbose output
    -l/--limit <arg>             max number of results to return (1-1000, default=25)
    -n/--next                    next page of search results

  selectMailbox(sm)            [opts] {name}
    -A/--admin-priv              execute requests with admin privileges
    --auth <arg>                 account to auth as

  syncFolder(sf)               {folder-path}

  tagContact(tct)              {contact-ids} {tag-name} [0|1*]

  tagConversation(tc)          {conv-ids} {tag-name} [0|1*]

  tagItem(ti)                  {item-ids} {tag-name} [0|1*]

  tagMessage(tm)               {msg-ids} {tag-name} [0|1*]

  whoami                       

mbox [email protected]> help commands
时间: 2024-08-27 12:12:56

zimbra mailbox相关的命令的相关文章

linux学习笔记(一)-文件目录相关的命令&&文件通配符

一.几个命令概述 1.查看目录以及目录底下的文件:ls(-a显示隐藏文件:-d显示目录本身:-l显示详细内容:-R递归显示,即把子目录的文件也显示出来:-h以更加被人类理解的格式显示,比如显示文件大小的时候用M为单位显示:-i显示文件索引ID) 2.查看文件内容:cat,head,tail,less,more,tac cat:将文件连接起来,输出在屏幕上,可接多个文件(-E:显示隐藏的换行符:-n:显示出行号) head:默认查看文件的前10行(-n#:查看文件的前#行.空白行也是一行) tai

zimbra mailbox 备份与恢复

How To Backup Mailbox Daily, Weekly and Monthly For backup mailbox, i am usually using zmmailbox command who has been provided by Zimbra. The command usually will backup all mailbox on the users. But in this case, i want to backup mailbox daily, week

Java的cmd配置(也即Java的JDK配置及相关常用命令)——找不到或无法加载主类 的解决方法

Java的cmd配置(也即Java的JDK配置及相关常用命令) ——找不到或无法加载主类  的解决方法 这段时间一直纠结于cmd下Java无法编译运行的问题.主要问题描述如下: javac 命令可以正常运行,而java命令有时可以正常运行,有时却不可以,不可以的症状就是显示“找不到或无法加载主类”. 在网上找了各种资料,最终发现是因为代码里含有package语句,所以无法在cmd下运行java命令解释.class文件.而那些可以运行的文件就是因为没有使用package语句. 我这种问题的解决方法

Redis 键(key)相关的命令及其它命令的查看地址

Redis 键(key) Redis 键命令用于管理 redis 的键. 语法 Redis 键命令的基本语法如下: redis 127.0.0.1:6379> COMMAND KEY_NAME 实例: 在以上实例中 DEL 是一个命令, runoobkey 是一个键. 如果键被删除成功,命令执行后输出 (integer) 1,否则将输出 (integer) 0 下面给大家列举几个常用的跟键相关的命令: Redis DEL 命令 Redis DEL 命令用于删除已存在的键.不存在的 key 会被忽

Linux CentOS 7 shell中的特殊字符及与管道相关的命令(cut,sort,wc,uniq,tee,tr,split)

一. shell特殊符号cut命令 1.特殊符号 * :任意个任意字符 ? :任意单个字符# :注释\ :转义字符 | :管道符 2.几个和管道相关的命令 (1) cut cut 把文件分段 cat /etc/passwd cut -d: -f 3  /etc/passwd    cut -d: -f 3,6,5  /etc/passwd cut -d: -f 3-6  /etc/passwd cut -c 10 /etc/passwd   取第十个字符 cut -c 5-10 /etc/pas

redis中与key相关的命令

1.简单描述 redis本质上是一个key-value db,value可以有多种类型(string.hash.set.sorted set.list等),本章节不讲这些类型的命令,这里是讲跟key相关的命令操作. key本身是string类型,不支持边界符,比如my key 这种名字是会报错的,mykey\n这样包含换行符的也不行,包含\r\n的会被特殊处理,暂不细说. 由于redis的数据是在内存中的,所以如果key的名字过长,会占用更多字节,另外就是查找的时候,会比长度短的key慢.但是k

1-21 网络管理相关的命令

  大纲: 1.1-网络协议的应用和TCP连接 了解常见的网络相关协议 TCP三次握手和四次挥手 1.2-RHEL7.网络管理 网络相关的调试命令 实战tcpdump和tshark抓包 网络协议的应用和连接 常见网络协议: ARP(Address Resolution Protocol)协议:IP地址解析为MAC地址 UDP(User Datagram Protocol)协议:用户数据包协议 DHCP(Dynamic Host Configuration Protocol)协议:动态主机配置协议

linux 文件相关的命令

常用的文件相关的命令有:mkdir,rmdir,touch,stat,rm,cp,mv,install 命名规则: 1)长度不能超过255个字符 2)不能使用'/'当文件名 3)严格区分大小写 1.mkdir: 创建文件空目录 -p:可以连续创建 2.rmdir: 只能删除空目录 -p:删除一条线上的空目录 3.stat:查看文件状态(时间戳) 4.touch:更改时间戳,如果没有目标,则创建目标文件 5.rm: 删除文件或文件夹 -r:进行递归删除 -f: 强制性删除(忽略友好提示) 6.cp

Linux 相关scsi命令

Linux 相关scsi命令 由于前段时间存储扩容,对存储操作较多,下面记录了常用的操作: lsscsi命令:显示scsi设备信息 #lsscsi [0:0:0:2]    disk    IBM      1726-4xx  FAStT  0617  /dev/sdb [0:0:0:3]    disk    IBM      1726-4xx  FAStT  0617  /dev/sdc [0:0:0:4]    disk    IBM      1726-4xx  FAStT  0617