1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
zmmailbox -z -m 123 @tzx .com.cn
mailbox: 123 @tzx .com.cn, size: 56.76 MB, messages: 544, unread: 3
authenticated as 123 @tzx .com.cn
 
mbox 123 @tzx .com.cn> 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 123 @tzx .com.cn> zmmailbox help commands 
ERROR: zclient.CLIENT_ERROR (Unknown command: (zmmailbox) Type:  'help commands'  for  a list)
mbox 123 @tzx .com.cn> 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 123 @tzx .com.cn> help commands