Results 1 to 5 of 5

Thread: [SOLVED] How to delete messages in the inbox user account (whole)

  1. #1
    abeb is offline Junior Member
    Join Date
    Sep 2009
    Posts
    6
    Rep Power
    5

    Default [SOLVED] How to delete messages in the inbox user account (whole)

    Hi all,

    I was testing user mail migration from qmail to zimbra, and now i want to clear/delete the zimbra user inbox (has 4000+ messages) in one go. Is this doable in Zimbra? Is there a way by CLI to accomplish this?

    Thx in advance.

  2. #2
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    Default

    su - zimbra
    zmmailbox -z -m account@domain emptyFolder /Inbox

  3. #3
    abeb is offline Junior Member
    Join Date
    Sep 2009
    Posts
    6
    Rep Power
    5

    Default

    Quote Originally Posted by tiger2000 View Post
    su - zimbra
    zmmailbox -z -m account@domain emptyFolder /Inbox
    Thx alot tiger2000, looks like with that command i can empty any folder i want . Really appreciate your help.

  4. #4
    atevewr is offline Active Member
    Join Date
    Jul 2009
    Posts
    32
    Rep Power
    6

    Default

    i think this should do

    zmmailbox -z -m user@domain.com emptyFolder "FolderName"

    By the way, have a look here

    Zmmailbox - Zimbra :: Wiki

  5. #5
    abeb is offline Junior Member
    Join Date
    Sep 2009
    Posts
    6
    Rep Power
    5

    Default

    Quote Originally Posted by atevewr View Post
    i think this should do

    zmmailbox -z -m user@domain.com emptyFolder "FolderName"

    By the way, have a look here

    Zmmailbox - Zimbra :: Wiki
    Thx for the answer atevewr, am currently reading the link you gave me, cheers!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Initializing ldap...failed. (28416) on RHEL 5
    By Nicrad in forum Installation
    Replies: 35
    Last Post: 10-22-2012, 06:57 PM
  2. Spam/Ham training under Outlook/Thunderbird/etc.
    By chuckm in forum Administrators
    Replies: 23
    Last Post: 03-18-2009, 11:01 AM
  3. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Network edition - strange behavior
    By goetzi in forum Installation
    Replies: 6
    Last Post: 11-16-2005, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •