How to Manage Mailbox Folder using zmmailbox command in Zimbra

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 Manage Mailbox Folder using zmmailbox command 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


How to display subject from another email with date using zmmailbox command
[zimbra@mail ~]$ zmmailbox -z -m [email protected] s -t message -l 100 "from:[email protected] in:inbox date:11/09/17"

Comments

  1. 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

    ReplyDelete
  2. The post is written in very a good manner and it contains many useful information for me.


    gexton security network it system

    ReplyDelete
  3. 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.
    Billing Software

    ReplyDelete

Post a Comment

Popular posts from this blog

zimbra some services are not running [Solve problem]

Bash script list all IP addresses connected to Server

How to install php7 on centos 6