Re: DELETED mailboxes in directory tree and mailboxed.db

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

 



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.

----
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