cleaning up mailbox.

Ken Murchison murch at
Tue Mar 28 13:34:31 EST 2006

Andrzej Kwiatkowski wrote:
> Hello.
> I've got next question.
> My boss want to add next feature to clients.
> He wants to take possibility to push some kind of
> button which in action remove all mails from mailbox which are older f.e
> 7 days.
> I've read about popexpiretime, but my boss want to do this via
> configuration panel.
> So maybe someone could write example IMAP session for this ?
> Or any other solutions ?

You'll probably want to do something like this in your client:

STORE <sequence from SEARCH response> +flags \deleted

You'll have to look at RFC 3501 for details.

Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University

More information about the Info-cyrus mailing list