Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com
huuphan.com. Powered by Blogger.

Explore the world of seamless email management with Zimbra Mail on Linux! Our blog delves into a step-by-step guide on harnessing the potential of Linux commands, providing easy-to-follow how-tos, and unlocking the magic of Bash scripting. Simplify your email administration journey and enhance your skills with our insightful tips and tricks.

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"

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com

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

Relay

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


gexton security network it system

Relay

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

Relay

This Blog is protected by DMCA.com