Thank you.
 
Do you means two servers?  One as source and one as destination?  As I understood, destination does not need an imap server...
Description of dsync says: ... All of these can be used within the same server ...
Adapted it says:
  • mdbox -> maildir migration. Set mail_location=maildir:~/Maildir and run dsync -u username mirror mdbox:~/mdbox

For me it looks like Maildir is on our new server (imap) and mdbox is in the user's homedir on the new server (without the need of imap).
 
 
Gesendet: Samstag, 13. August 2022 um 18:58 Uhr
Von: "Olivier DUCROT" <oduc...@gmail.com>
An: lutz.niede...@gmx.net
Betreff: Re: convert mdbox to maildir
Hi
You should create a new server with the same mbox structure, si that you can easyly connect to it and then create a brand new server with maildir. 
 
 
 
Le 13 août 2022 à 18:36, lutz.niede...@gmx.net a écrit :
 
Hi!

We need to move all users from one (pretty old) installation of dovecot to a new one.
The old one uses mdbox for users' mailboxes and maildir for shared/public mailboxes.
The new one must be maildir only.

I believe that I can just copy the shared/public maildir structure to the new installation without problems.
Am I right?  Do I have to expect any trouble?  (Set owner, permissions etc...)

The real problem is that we must not use the running, old dovecot installation.  So we are not able to connect to the old server, pull all folders and mails and create a new maildir structure.  Currently, we can't do anything against it.  What we get are the users' mdbox files.

Is there any way to convert mdbox files and structures to maildir directly from filesystem?
Or do we have to build a copy of the old machine (dovecot only, or -maybe better- a vm) and then use doveadm backup?
Or is it ok to just set up the completely new installation, set mail_location to where the new Maildirs will be, like maildir:~/Maildir and then run something like doveadm backup mdbox:/tmp/$user/mdbox -u $user?  Will this transfer all mails and folders or do we have to keep an eye on some specific things?

I thank you very much and

cheers!
-lutzn

 

Reply via email to