On 06/16/2011 04:02 PM, Anuar Deniel wrote:
> Hi guys,
> 
> I am trying to export a user's email to mbox format within a duration (date 
> and time).
> 
> I tried:
> 
>  dbmail-export -u username -b /home/user -m '*' -s "1:* SINCE 14-May-2011 
> 23:34:00 BEFORE 16-May-2011 10:00:00"
> 
> but it gives out an error, because SINCE and BEFORE can only take a date, not 
> time (am i correct?). Would u guys give an example how to achieve this?

the export command uses IMAP-SEACH syntax

so indeed you cannot specify a datetime, only a date for SINCE and BEFORE

there is no need to add a 1:* uid range.


But it looks like the search in git-head is broken for export. Will fix.

-- 
________________________________________________________________
Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/[email protected]/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to