Re: delete messages from the command-line?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 May 2007, OBATA Akio might have said:

> On Thu, 24 May 2007 22:10:50 +0900, mikee <mikee@xxxxxxxxxxxx> wrote:
> 
> >I use deliver to put messages directly into the inbox
> >or some folder inbox.folder. Is there a similiar way
> >to remove messages from a folder? I want to remove messages
> >when a folder has more than 1000 messages or the messages
> >are older than four days.
> 
> Cyrus IMAP Server have expire capability.
> 
> Access to the server with 'cyadmin', then type
> >mboxcfg inbox.folder expire 4
> 
> -- 
> OBATA Akio / obata@xxxxxxx
> 

I have a folder I'm testing with that has 4500+ messages going
back to 24 May 07. I have set the expire to '2' and just ran
the expire by hand (cyr_expire -v -E 10000 -X 3). The expire
only deleted 5 of the messages.

Is there some other criteria I'm missing on the expire?

Mike
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux