No -k option for cyradm's reconstrcut [Was: Re: unexpunge Bus Error (signal 7) [Was: Re: ipurge and delayed expunge]]

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

 



On Sat, 2009-06-27 at 10:06 -0400, Brian Awood wrote:
> On Friday 26 June 2009 @ 20:47, Adam Tauno Williams wrote:
> > A reconstruct works, but then none of the expunged messages appear
> > (list from unexpunge -l is empty).  Should a reconstruct loose
> > expunged messages in delayed expunge mode?
> reconstruct will remove the expunged data if you don't specify the -k 
> option, also if it's not able to verify the cyrus.expunge file as 
> valid, it will delete it and put all messages back into the index.  

I've verified this behavior;  with a batchreconstruct -rk everything
seems OK.

One note:  the "reconstruct" command in cyradm accepts a "-r" option but
not a "-k" option.

> I posted a patch to the dev list which addresses this and a couple of 
> other issues in reconstruct.  In this case it looks like the 
> cyrus.expunge file was corrupted since the expunge_index_base isn't 
> valid.  Possibly due to a previous issue with the expunge file.  

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