Re: folder unreadable

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

 



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