Results 1 to 3 of 3

Thread: [SOLVED] zmmailbox to export emails by date

Threaded View

  1. #1
    Join Date
    Feb 2010
    Rep Power

    Default [SOLVED] zmmailbox to export emails by date

    I'm trying to export emails from a mailbox by date, but keep getting the below error. It appears that the ":" character in the query variable is causing the issue. Any idea how to properly format the date for this query?

    [zimbra@mail ~]$ query='before:"1/27/2010" after:"5/29/2009"'
    [zimbra@mail ~]$ zmmailbox -z -m gru "//?fmt=tgz&query=$query" > /tmp/test.tgz

    ERROR: zclient.CLIENT_ERROR (unable to parse URI: (cause: Illegal character in query at index 87:"1/27/2010"

    Without the date range parameters, the export works without an error.

    Last edited by John Kim; 02-09-2010 at 01:56 PM.

Similar Threads

  1. [SOLVED] my server stopped working???
    By cecil in forum Administrators
    Replies: 4
    Last Post: 04-20-2008, 08:07 AM
  2. installation error during ldap setup
    By ljramos in forum Installation
    Replies: 23
    Last Post: 08-10-2007, 10:48 PM
  3. unable to restart zimbra after reboot
    By droefs in forum Administrators
    Replies: 28
    Last Post: 04-16-2006, 02:33 PM
  4. Replies: 16
    Last Post: 01-05-2006, 08:55 AM
  5. After Succesfull Install, Cannot Start mta
    By bsimzer in forum Installation
    Replies: 26
    Last Post: 12-16-2005, 04:45 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