Re: cyr_expire -E ?

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

 



On Sun, 20 Apr 2008 07:26:54 -0400, "Steve Huston" <huston@xxxxxxxxxxxxxxxxxxx> said:
> On 4/19/08 8:46 AM, Blake Hudson wrote:
> > I haven't looked at the source, but couldn't another flag be added that
> > would mimic the old behavior of only pruning the duplicate db? I would
> > assume that would be cleaner/faster than the proposed -X $INTMAX method
> > that would have to compare a bunch of timestamps...
> 
> Doesn't that exist in the form of "expunge_mode: immediate" in
> /etc/imapd.conf?  I never had an -X flag in my cyr_expire commandline
> until recently when I set expunge_mode to delayed and added the flag
> myself.

cyr_expire_expunge_mode: immediate

hmm - that looks viable to me!  Feel like testing it?  Basically it tells
cyr_expire that you have immediate expunge, so don't bother expunging, but
everything else will do delayed delete.

Don't come crying when your mailboxes melt under the load of huge spam
databases whenever you delete a message though... actually, it's not so
bad since cyrus_expunge doesn't get sorted every time, the records just
get appended.

Bron.

-- 
  Bron Gondwana
  brong@xxxxxxxxxxx

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