How to Manage Mailbox Folder using zmmailbox command in Zimbra. zmmailbox command for mailbox manager. It's useful for admin. in this post will brief how to get all folder, empty, delete subfolder/folder in zimbra.
How to get all folder using zmmailbox command.
[zimbra@mail ~]$ zmmailbox -z -m [email protected] gaf
The output:
Id View Unread Msg Count Path
---------- ---- ---------- ---------- ----------
1 unkn 0 0 /
16 docu 0 0 /Briefcase
10 appo 0 0 /Calendar
14 mess 0 0 /Chats
7 cont 0 0 /Contacts
6 mess 0 0 /Drafts
13 cont 0 3 /Emailed Contacts
2 mess 8 11 /Inbox
320 mess 0 0 /Inbox/New_Sub_folder
4 mess 0 0 /Junk
321 mess 0 0 /New_folder
5 mess 0 14 /Sent
15 task 0 0 /Tasks
3 unkn 0 0 /Trash
How to delete folder/subfolder using zmmailbox.
[zimbra@mail ~]$ zmmailbox -z -m [email protected] df /Inbox/New_Sub_folder
[zimbra@mail ~]$ zmmailbox -z -m [email protected] gaf
The output:
Id View Unread Msg Count Path
---------- ---- ---------- ---------- ----------
1 unkn 0 0 /
16 docu 0 0 /Briefcase
10 appo 0 0 /Calendar
14 mess 0 0 /Chats
7 cont 0 0 /Contacts
6 mess 0 0 /Drafts
13 cont 0 3 /Emailed Contacts
2 mess 8 11 /Inbox
4 mess 0 0 /Junk
321 mess 0 0 /New_folder
5 mess 0 14 /Sent
15 task 0 0 /Tasks
3 unkn 0 0 /Trash
How to Empty folder using zmmailbox command.
[zimbra@mail ~]$ zmmailbox -z -m [email protected] ef /Sent
[zimbra@mail ~]$ zmmailbox -z -m [email protected] gaf
The output:
Id View Unread Msg Count Path
---------- ---- ---------- ---------- ----------
1 unkn 0 0 /
16 docu 0 0 /Briefcase
10 appo 0 0 /Calendar
14 mess 0 0 /Chats
7 cont 0 0 /Contacts
6 mess 0 0 /Drafts
13 cont 0 3 /Emailed Contacts
2 mess 8 11 /Inbox
4 mess 0 0 /Junk
321 mess 0 0 /New_folder
5 mess 0 0 /Sent
15 task 0 0 /Tasks
3 unkn 0 0 /Trash
[zimbra@mail ~]$ zmmailbox -z -m [email protected] s -t message -l 100 "from:[email protected] in:inbox date:11/09/17"
Thanks for reading How to Manage Mailbox Folder using zmmailbox command in Zimbra My blog Effortless Zimbra Mail Management: Unleashing the Power of Linux Commands, How-To, and Bash Scripts I hope this is useful.
3 Comments
What if the most desired document or letter is lost or theft along with the letterbox? The result might be catastrophic sometime! So, it should be the foremost duty to ensure the safety of your documents outside the door. A secure and heavy duty locking mailbox can do this. We were in search of the best secure mailbox
RelayThe post is written in very a good manner and it contains many useful information for me.
Relaygexton security network it system
Thank you so much for sharing this worth able content with us. The concept taken here will be useful for my future programs and i will surely implement them in my study. Keep blogging article like this.
RelayBilling Software