Strange bug in cyrus (missing folders with reconstruct !)
Denis BUCHER
dbucherml at hsolutions.ch
Thu Dec 17 19:55:42 EST 2009
Patrick Boutilier a écrit :
> On 12/17/2009 07:30 PM, Denis BUCHER wrote:
>> Patrick Boutilier a écrit :
>>> On 12/17/2009 09:28 AM, Denis BUCHER wrote:
>>> <snip>
>>>>> How did you move the mail from one server to the other?
>>>> I think I copied with scp.
>>>>
>>>>> Does the CLIENT folder have at least a cyrus.index file in it?
>>>> No, the CLIENT folder has only subfolders...
>>>>
>>> Is it even possible to create a folder (even an empty one) that doesn't
>>> have the cyrus.* files in it ?
>> Yes it must be, because I really took the files "as is" from the old
>> server...
>>
>>> I am pretty sure that if you just put an empty cyrus.header file in
>>> CLIENT then your reconstruct command will see the the folder when run
>>> with -f
>> Good idea, but :
>>
>> $ touch /var/spool/cyrus/mail/c/user/psmith/CLIENTS/cyrus.header
>> $ /usr/sbin/cyrreconstruct -p default -rf user.psmith.CLIENTS
>> user.psmith.CLIENTS: Mailbox has an invalid format
>>
>> If only ;-))
>
> Copy a real cyrus.header file in perhaps? I know there is a way to trick
> reconstruct. :-)
Yes, my last idea ressort was to copy an email to the folder that
contains only subfolders...
Let's try :
cp /var/spool/cyrus/mail/t/user/test2007/277.
/var/spool/cyrus/mail/p/user/psmith/CLIENTS/1.
Doesn't work... Strange...
Denis
More information about the Info-cyrus
mailing list