reconstruct failed

Brian Shaw bshaw at vsvinc.com
Mon Nov 18 23:58:47 CET 2013


When I have needed to reconstruct mailboxes I would switch to the Cyrus user and then run the reconstruct command directly.  As I remember the only way I could get it to work was to not specify a user but let it check all the mailboxes.

Brian

Sent from my ASUS Pad

Martial Paupe <babatoko at gmail.com> wrote:


> It's not possible to launch any cmd with the user kolab-r and as all email
> are owned
> by cyrus or group mail I thought that it would be ok with cyrus user for
> the console but NOP.
> 
> Here is the only line at mail.log
>  Nov 18 21:11:45 ks22546 imap[268047]: Reconstructing 'xyz.com
> [2]!user.xyz' (not recursive) for user 'cyrus-admin'
> 
> On 18 November 2013 20:37, Michael <kolab983 at der-he.de> wrote:
> 
>> I didn't answered to the list with my last mail. Sorry, my fault.
>>
>> Am Mon, 18 Nov 2013 17:24:36 +0100
>> schrieb Martial Paupe <babatoko at gmail.com>:
>>
>>> On 18 November 2013 08:43, Michael <kolab983 at der-he.de> wrote:
>>>
>>> > Am Sa, 16.11.2013, 22:51 schrieb Martial Paupe:
>>
>>>> > Hi
>>> > >
>>> > > I'm trying to restore some mail into a mailbox and wanted to
>>> > > reconstruct the mailbox and here is how I have done it.
>>> > >
>>> > > #   cyradm --user cyrus-admin localhost
>>> > > verify error:num=18:self signed certificate
>>> > > IMAP Password:
>>> > >               localhost.localdomain>lm
>>> > > user/xyz at yxz.com
>>> > > reconstruct -r user/xyz at yxz.com
>>> > > reconstruct: Operating System Error
>>> >
>>
>>>> Files restored as root? The cyrus user has to have access
>>> > permissions to them in the filesystem.
>>> >
>>
>>> all email old and new have got the same access right. And all mails
>>> doesn't show up.
>>
>> I'm also lost. With kolab 2 you have to use a special user to
>> reconstruct: kolab-r.
>> https://wiki.kolab.org/Backups_for_kolab2 [1]
>>
>> Any errors in maillog / mail.log / mail.err ?
> 
> 
> 
> Links:
> ------
> [1] https://wiki.kolab.org/Backups_for_kolab2
> [2] http://xyz.com


More information about the users mailing list