Looks interesting. As I just noted in bug #380, I think it would make a lot of sense for dbmail-export to be able to delete the messages after export, and to accept additional fine-grained message selection criteria.
I wonder if just adding an IMAP search string wouldn't make the most sense, actually? You've added what is going to look like "-s 1:*" and we could extend that to do date-based deletion like this: dbmail-export -s "1:* BEFORE 10-Apr-2007" That would export everything older than 30 days from 10, and with another option flag also delete those message (perhaps '-d' for set delete status, same as dbmail-util?) Aaron On Wed, 2007-05-02 at 12:14 +0200, Paul J Stevens wrote: > --- > check_dbmail_mailbox.c | 2 +- > dbmail-mailbox.c | 8 +++++- > dbmail-mailbox.h | 2 +- > export.c | 51 +++++++++++++++++++++++++++++++++++++---------- > 4 files changed, 48 insertions(+), 15 deletions(-) _______________________________________________ Dbmail-dev mailing list [email protected] http://twister.fastxs.net/mailman/listinfo/dbmail-dev
