Re: [Kolab-devel] reconstruct failed

Brian Shaw <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <u81y2vno0xcuv5o4qs17r63e.1384815069140__28092.0356781737$1384851570$gmane$org@email.android.com>
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 <[email protected]> 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 <[email protected]> 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 <[email protected]>:
>>
>>> On 18 November 2013 08:43, Michael <[email protected]> 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/[email protected]
>>> > > reconstruct -r user/[email protected]
>>> > > 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
_______________________________________________
devel mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.