At 9:28 AM -0500 2/1/04, Ken Murchison wrote:
Mark London wrote:In order to keep INBOX to a reasonable size, I would like to set up an automatic system that would automatically move old messages from INBOX to another folder. Any suggestions? Thanks. - Mark
There isn't any Cyrus utility to do this (ipurge is the closest), so you're best bet is to write a Perl script that uses the following IMAP commands:
SELECT inbox SEARCH SINCE <date> COPY <seq> <mbox> STORE <seq> +flags \deleted EXPUNGE
Of course, you'll have to check the Perl module and/or RFC 3501 for the correct syntax.
-- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp