disaster recovery process

Tom Reijnders reijnders at tor.nl
Fri Jun 16 13:39:50 CEST 2023


I don't know.  At the moment we've got insufficient information to make 
a new suggestion.

Is the old domain mentioned when you do a kolab lm? If not, than I don't 
think it has anything to do with the mailbox being associated with the 
old domain.

What does kolab lam (list-mailbox-acls) tell you?

Tom


Op 14-6-2023 om 16:01 schreef Eric B Munson:
> Thanks for the pointers, but I am on to my next problem. I ran this 
> reconstruct and now the missing folders are the only ones I can access 
> via imap. My inbox, calendar, and contacts claim to be inaccessible. 
> The data is still there on disk but I get 'Mailbox does not exist' 
> back from round cube and fetchmail.
>
> At little back story, I had to recover from backups when I lost access 
> to my original mail server and I chose to move domain names at the 
> same time. So it looks like reconstruct has associated the existing 
> folders (inbox, calendar, contacts, etc) with my old domain account. I 
> am not sure how to untangle this mess but I cannot read my inbox ATM. 
> Any help would be appreciated.
>
> Eric
>
> On June 14, 2023 4:13:22 AM EDT, Tom Reijnders <reijnders at tor.nl> wrote:
>
>     You should be able to run it as user cyrus:
>
>     # sudo -u cyrus ....
>
>     As for the syntax to use for the mail box. If you have a mailbox
>     in your system, run
>
>     # kolab lm
>
>     to see the proper syntax of a mailbox. It also depends on your use
>     of multiple domains whether you have to add a domain. But you can
>     see that in the *kolab lm* output as well.
>
>     Cheers,
>
>     Tom
>
>     Op 12-6-2023 om 19:08 schreef Eric B Munson:
>>     That may be a centos thing then, on Debian none of the kolab* users can access the mailboxes
>>
>>     # sudo -u kolab-r /usr/lib/cyrus-imapd/reconstruct -rfx user/eric
>>     fatal error: can't read mailboxes file
>>
>>
>>
>>     On 2023-06-12 01:43, marko wrote:
>>>     root won't work, you need to be the kolab restricted user.
>>>     from my 2016 notes, probably on centos 6 when I was migrating a lot of
>>>     kolab:
>>>     _su - kolab-r -c "/kolab/bin/cyrreconstruct -rfx
>>>     user/marko at mechtron.com.au"_
>>>     cheers
>>>
>>>     Marko
>>>
>>>     On Sunday, 11 June 2023 11:23:19 PM AEST Eric B Munson wrote:
>>>
>>>>     No, I ran it as root.  The kolab user cannot read or write the
>>>     mailbox files
>>>
>>>>     on disk (they belong to cyrus:mail).
>>>>     On 2023-06-09 20:27, marko wrote:
>>>>>     Are you running it as the kolab user?
>>>>>     On Saturday, 10 June 2023 10:07:58 AM AEST Eric B Munson wrote:
>>>>>>     Thanks for the pointer, I found it but get no output from running
>>>     it on
>>>
>>>>>>     my
>>>>>>     user. I ran:
>>>>>>     # /usr/lib/cyrus-imapd/reconstruct -rf user/eric
>>>>>>     #
>>>>>>     I am sure that means I am using is wrong but I cannot find any
>>>     indication
>>>
>>>>>>     of how. AFAICT this is what the manpage says to do.
>>>>>>     Eric
>>>>>>     On 2023-06-09 06:23, Tom Reijnders wrote:
>>>>>>>     Are you siure it's not installed? By default it's not in the
>>>     path, but
>>>
>>>>>>>     somewhere in the cyrus installation, so you would need the full
>>>     path
>>>
>>>>>>>     to the executable. Try running 'locate reconstruct'. If locate
>>>     is not
>>>
>>>>>>>     installeed, you should be able to install it using 'apt-get
>>>     install
>>>
>>>>>>>     mlocate'.
>>>>>>>     Tom
>>>>>>>     Op 8-6-2023 om 17:39 schreef Eric B Munson:
>>>>>>>>     I am having the same problem and would like to run
>>>     reconstruct, but it
>>>
>>>>>>>>     is
>>>>>>>>     not installed when using Ubuntu 18.04 and I cannot install the
>>>>>>>>     cyrus-common package from the ubuntu repos (which contains
>>>>>>>>     reconstruct)
>>>>>>>>     without breaking the kolab provided cyrus-imapd package. :/
>>>>>>>>     Guess it's time to see if they have finally fixed builds for
>>>     20.04 or
>>>
>>>>>>>>     22.04.>>
>>>>>>>>     On 2023-06-01 10:00, Tom Reijnders wrote:
>>>>>>>>>     Did you run reconstruct?
>>>>>>>>>     See
>>>     https://serverfault.com/questions/531916/reconstructing-cyrus-mailbox
>>>
>>>>>>>>>     es-> >>> with-sub-folders.
>>>>>>>>>     Tom
>>>>>>>>>     Op 27-5-2023 om 16:36 schreef Josh:
>>>>>>>>>>     Greetings kolabers,
>>>>>>>>>>     After a server catastrophic disk failure I reinstalled
>>>     CentOS7 and
>>>
>>>>>>>>>>     Kolab16 latest, recreated my user, then restored
>>>>>>>>>>     /var/spool/mail/doman
>>>>>>>>>>     folder from a recent backup.
>>>>>>>>>>     Inbox contents showed up correctly but no previously created
>>>     folders
>>>
>>>>>>>>>>     are shown to imap clients.
>>>>>>>>>>     Am I missing something?
>>>>>>>>>>     Please advise,
>>>>>>>>>>     Josh.
>>>>>>>>>>     _______________________________________________
>>>>>>>>>>     users mailing list
>>>>>>>>>>     users at lists.kolab.org
>>>>>>>>>>     https://lists.kolab.org/mailman/listinfo/users
>>>>>>     _______________________________________________
>>>>>>     users mailing list
>>>>>>     users at lists.kolab.org
>>>>>>     https://lists.kolab.org/mailman/listinfo/users
>>>>>     _______________________________________________
>>>>>     users mailing list
>>>>>     users at lists.kolab.org
>>>>>     https://lists.kolab.org/mailman/listinfo/users
>>>>     _______________________________________________
>>>>     users mailing list
>>>>     users at lists.kolab.org
>>>>     https://lists.kolab.org/mailman/listinfo/users
>>>     _______________________________________________
>>>     users mailing list
>>>     users at lists.kolab.org
>>>     https://lists.kolab.org/mailman/listinfo/users
>>     _______________________________________________
>>     users mailing list
>>     users at lists.kolab.org
>>     https://lists.kolab.org/mailman/listinfo/users
>
>     -- 
>     --
>
>     Tom Reijnders
>     TOR Informatica
>     Chopinlaan 27
>     5242HM Rosmalen
>     Tel: 073 5226191
>     Fax: 073 5226196
>

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20230616/c827622b/attachment-0001.html>


More information about the users mailing list