[SOLVED] Limit search mails zmmailbox
Hi all.
We have to delete all mail before 11/8/2009 from a mailbox.
I see i can't delete more than 1000 mails at one time.
emails=`zmmailbox -z -m user@mail.com s -l 100000 -t message "in:inbox before: 11/8/2009"|awk '{ if (NR!=1) {print}}'| grep mess | awk '{ print $2 "," }' | tr -d '\n'`
and then :
zmmailbox -z -m user@mail.com dm `echo $emails`
but it only deletes the first 1000 mails.
Is there a limit for searching emails ?
BR
EDIT: version 5.011 NE ubuntu 32