Dsync folder sync5/17/2023 1 vmail vmail 3056 4 mag 18.09 maildirsizeĭrwx. 1 vmail vmail 8 29 nov 17.49 dovecot-uidvalidity 1 vmail vmail 485 4 mag 18.09 dovecot-uidlist 1 vmail vmail 23 15 feb 11.22 dovecot-keywords 1 vmail vmail 496 4 mag 18.15 dovecot.index If you do a ls -la into /home/backup/account1/Maildir you should see something like: # ls -laĭrwx. ![]() ![]() I migrated some time ago mails from an hosting plan to my mail server merging mailboxes.Īs you I had a backup of maildirs that contains, in facts, a directory/files structure of your IMAP mailbox. I was thinking about just setting up a whole other mail server and using imapsync, which is really easy to use, but I think there must be a way to do it with doveadm sync or dsync that doesn't involve that must lost time. On this server will already be referencing /home/vmail/domain.tld/account1 according to the dovecot configuration, so I should be able to use -u if I understand it correctly, but how do I reference the backup ? looks like doveadm sync is only compatible with an other dovecot server, which I don't have ? I tried a lot of things with dsync and doveadm sync but I can't find the correct syntax, could someone help me ?īasically, I just want to merge let's say /home/backup/account1/Maildir to /home/vmail/domain.tld/account1/. Now they recovered a backup of those mailboxes from an old hosting company, and they want me to merge those backups with the current mailboxes. ![]() So there is mail in them, that can't be lost. I have a client who created about 20 mailboxes on a server, and they have been using them for a few weeks.
0 Comments
Leave a Reply. |