DELETED mailboxes in directory tree and mailboxed.db
Craig White
craigwhite at azapple.com
Thu Nov 26 12:18:06 EST 2009
On Thu, 2009-11-26 at 18:10 +0100, mayak-cq wrote:
> On Thu, 2009-11-26 at 12:58 -0400, Patrick Boutilier wrote:
> > On 11/26/2009 12:37 PM, mayak-cq wrote:
> > > hi all,
> > >
> > > i'm running cyrus 2.3.14-9 on centos-5 (thanks simon!)
> > >
> > > i've been doing a lot of work on the mailboxes, reorganizing, etc, and I
> > > noticed in cyradm a bunch of DELETED entries in the mailbox.db as well
> > > DELETED directories in the mailstore.
> > >
> > > is there a way to purge these?
> >
> > Sure. Just delete them via cyradm
> >
> >
> > 10.0.0.1> lm DELETED.user.macman*
> > DELETED.user.macman.test3.4B0EB362 (\HasNoChildren)
> > 10.0.0.1> dm DELETED.user.macman.test3.4B0EB362
> > 10.0.0.1> lm DELETED.user.macman*
> > 10.0.0.1>
>
> hi patrick
>
> i have hundreds and hundreds!
>
> i'll get carpal tunnel syndrome if i do by hand :-)
----
you can probably use ipurge/cyrus.conf to do that like I do with each
users SPAMBOX after 7 days...
# purge SPAMBOX messages over 7 days old
purgebulk cmd="ipurge -f -d 7 user.*.SPAMBOX" at=230
just change the folder semantics and I'd probably increase the time from
7 days to 30 days just in case...
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Info-cyrus
mailing list