How to Manage Mailbox Folder using zmmailbox command in Zimbra

Introduction

The zmmailbox command in Zimbra is a powerful tool that allows administrators to manage mailboxes efficiently through the command line. This command offers a wide range of functionalities, from managing emails and folders to performing administrative tasks like account management and mailbox configuration. In this article, we will explore the various uses of the zmmailbox command, providing you with the knowledge to enhance your Zimbra email system management.

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.

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"

Conclusion

Mastering the zmmailbox command can significantly improve your ability to manage and configure Zimbra mailboxes effectively. By utilizing the features and commands discussed in this guide, you can streamline your administrative tasks and optimize your email system's performance. We hope this article has been informative and encourage you to explore more of our content for additional tips and best practices in managing your Zimbra email system. thank you for reading the huuphan.com page!

Comments

Popular posts from this blog

zimbra some services are not running [Solve problem]

How to install php7 on centos 6: A Step-by-Step Guide

Bash script list all IP addresses connected to Server with Country Information