folder unreadable

Maria McKinley maria at shadlen.org
Thu Dec 13 20:47:39 EST 2007


Andrew Morgan wrote:
> On Thu, 13 Dec 2007, Michael D. Sofka wrote:
> 
>> On Wednesday 12 December 2007 08:09:33 am Ian G Batten wrote:
>>> I once had to delete the cyrus.* files prior to a reconstruct: they  
>>> had become toxic to the point that Cyrus's attempts to make use of  
>>> the information in them was causing problems.
>>
>> reconstruct won't reconstruct folders that do not have cyrus.* files.  
>> So,
>> either make new folders.  Or, copy cyrus.* files from another folder.
>>
>> You will also need to run quota -f user.<account> to correct the quota.
> 
> You can get reconstruct to work by simply "touch"ing the cyrus.header 
> file and giving it the correct ownership and permissions.
> 
> I used to recover lost email from backups by restoring the message files 
> and the cyrus.header file into a new folder, but then I realized that 
> the mailbox unique id would also be duplicated.  After some playing 
> around I realized that reconstruct will rebuild all the cyrus.* files if 
> you have an empty cyrus.header file.
> 
>     Andy
> 

It would seem that you do not even need the cyrus.header file. When I 
reconstructed this folder, I did not have any cyrus.* files in the 
folder, just the email text files, and it reconstructed fine (except for 
the lost time stamps).

~maria


More information about the Info-cyrus mailing list