Results 1 to 7 of 7

Thread: Delete messages from Inbox in about certain time.

  1. #1
    celeron is offline Active Member
    Join Date
    Jan 2007
    Posts
    49
    Rep Power
    8

    Default Delete messages from Inbox in about certain time.

    Hi, all
    Has Zimbra any commands to delete some messages from Inbox in about certain time. Example, I only want to delete messages from 01/15/2007 to 02/15/2007.
    Please help me!

    Thanks.

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Celeron,
    I think Dan may have more info on this. You can pvt him.

    May I ask why you posted in the Outlook Connector's Forum?

    -john

  3. #3
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default zmmailbox should work

    Quote Originally Posted by celeron View Post
    Has Zimbra any commands to delete some messages from Inbox in about certain time. Example, I only want to delete messages from 01/15/2007 to 02/15/2007.
    The easiest way to do this is probably to use the zmmailbox command.

    First, run search "in:inbox (after:1/15/07 before:2/15/07)". (Make sure that these are actually the messages you want to delete before proceeding!) Then collect the results of that search and run deleteMessage id1,id2,id3,... where the ids are the ones returned from the search.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  4. #4
    celeron is offline Active Member
    Join Date
    Jan 2007
    Posts
    49
    Rep Power
    8

    Default

    I'm sorry. I will learn from experience.
    If my messages are very large, how must I do? I can't delete each message. I intend to write script to delete but I don't extract id into 1 file.
    any solutions?

    Thanks
    Last edited by celeron; 03-01-2007 at 11:30 PM.

  5. #5
    tachijuan is offline Senior Member
    Join Date
    Sep 2005
    Location
    Roswell, GA
    Posts
    58
    Rep Power
    9

    Default

    anyone have an example of how to do this? I'd like to use this to move messages around in a large mailbox (>25GB 200K+ messages).

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,505
    Rep Power
    57

    Default

    Quote Originally Posted by tachijuan View Post
    anyone have an example of how to do this? I'd like to use this to move messages around in a large mailbox (>25GB 200K+ messages).
    Post #3 has the answer to the original question asked in this thread.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    tachijuan is offline Senior Member
    Join Date
    Sep 2005
    Location
    Roswell, GA
    Posts
    58
    Rep Power
    9

    Default

    I was referring to post #4. My message list is humongous and the search command pages at 1000 messages regardless of how big you set the -l option to.

    Here's the sequence I tried:

    aa admin password
    sm email@account.com
    search -t message -l 99999999 "in:inbox (after:1/1/11 before:3/1/11)"
    Regardless of how big I set that 99999999 option after -l the maximum result is 1000. What I want to get to is a list of all the message id's that match my criteria. Then, I'll move those message ids to another folder.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Re-creating the spam training e-mail account
    By richard-hdd in forum Administrators
    Replies: 21
    Last Post: 03-20-2012, 07:34 AM
  2. [SOLVED] Delete messages with commands using filters
    By mnbvmnbv in forum Administrators
    Replies: 3
    Last Post: 11-02-2010, 09:50 AM
  3. Phantom "Undeliverable Mail" messages in Inbox
    By mjdl in forum Zimbra Connector for Outlook
    Replies: 1
    Last Post: 03-13-2008, 10:27 AM
  4. Inbox displaying 100 messages at a time
    By esilva in forum Administrators
    Replies: 1
    Last Post: 12-18-2007, 02:19 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
  •