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

This Blog is protected by DMCA.com

huuphan.com. Powered by Blogger.

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.
[[email protected] ~]$ 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.
[[email protected] ~]$ zmmailbox -z -m  [email protected] df /Inbox/New_Sub_folder
[[email protected] ~]$ 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.
[[email protected] ~]$ zmmailbox -z -m  [email protected] ef /Sent
[[email protected] ~]$ 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
[[email protected] ~]$ 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

2 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