问题原文
原帖链接 · Ulrar · CC BY-SA 3.0
I have a client who created about 20 mailboxes on a server, and they have been using them for a few weeks. So there is mail in them, that can't be lost.
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. I tried a lot of things with dsync and doveadm sync but I can't find the correct syntax, could someone help me ?
Basically, I just want to merge let's say /home/backup/account1/Maildir to /home/vmail/domain.tld/account1/. On this server [email omitted] 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 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. Thanks
已采纳解答
原帖链接 · Marc Pope · CC BY-SA 4.0
You can use imapcopy or imapsync software to merge servers together. I use it all the time to make mail backups. The downside is you need to know the passwords to the accounts.
https://imapsync.lamiral.info/
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
