On Sun, 2010-10-31 at 11:07 +0000, Jorge Bastos wrote:
> Howdy Paul / others,
> 
>  
> 
> I’m trying to achieve one thing that is:
> 
>  
> 
> Delete email on INBOX only, emails older than a specified date,
> example:
> 
>  
> 
> ·        Delete emails on INBOX older than 31-07-2010
> 
>  
> 
> How could this be done?

Jorge,

Have a look at the man page for dbmail-export. The command you're
looking for will be something like this:

dbmail-export -u joe -m INBOX -o /dev/null -d -s "1:* BEFORE
31-Jul-2010"

Regards,

Andy



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

Reply via email to