<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
-------- Original MessageĀ --------<br>
Subject: Re: cyr_expire -E ?<br>
From: Bron Gondwana <a class="moz-txt-link-rfc2396E" href="mailto:brong@fastmail.fm"><brong@fastmail.fm></a><br>
To: David Carter <a class="moz-txt-link-rfc2396E" href="mailto:dpc22@cam.ac.uk"><dpc22@cam.ac.uk></a><br>
Date: Saturday, April 19, 2008 7:23:16 AM<br>
<blockquote cite="mid:20080419122316.GA4321@brong.net" type="cite">
<pre wrap="">On Sat, Apr 19, 2008 at 09:19:40AM +0100, David Carter wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Fri, 18 Apr 2008, David R Bosso wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I don't specify a -X, I just want to prune the duplicate db. What am I
doing wrong?
</pre>
</blockquote>
<pre wrap=""> -X expunge-days
Expunge previously deleted messages older than expunge-days
(when using the "delayed" expunge mode). The default is 0
(zero) days, which will expunge all previously deleted messages.
Try -X <large number>. cyr_expire is a bit overloaded.
</pre>
</blockquote>
<pre wrap=""><!---->
That's something from upstream rather than from the FastMail patches.
I can see that it's unwanted behaviour, but by the same token I
accept the logic behind it:
a) don't break current installations (you can't require a -X
parameter)
b) have as similar behaviour to the current as possible (never
deleting mail by default would fill up people's drives with
deleted spams, besides which the performance hit would suck
over time, having those huge cyrus.expunge files sitting
around)
c) there is no (c)
d) oh yeah, adding a "cyr_expire_expunge_default_keep_forever = yes"
flag to cyrus.index is ugly and extra complex and not that much
different from -X $INTMAX anyway.
Or something like that,
Bron.
----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://cyrusimap.web.cmu.edu/">http://cyrusimap.web.cmu.edu/</a>
Cyrus Wiki/FAQ: <a class="moz-txt-link-freetext" href="http://cyrusimap.web.cmu.edu/twiki">http://cyrusimap.web.cmu.edu/twiki</a>
List Archives/Info: <a class="moz-txt-link-freetext" href="http://asg.web.cmu.edu/cyrus/mailing-list.html">http://asg.web.cmu.edu/cyrus/mailing-list.html</a>
</pre>
</blockquote>
<br>
<br>
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...<br>
</body>
</html>