Hi Dear friends
I want to migrate from iredmail to zimbra zcs-8.8.15_GA_3953 on centos 8 and I used https://wiki.zimbra.com/wiki/Maildir_to ... _with_bash .(I made a little changes).
first I synced data to new server backup directory and then run the script. all the emails have been imported. because the data is huge (about 3T)during the rsync and importing old server is up and new emails received.
for last step the new server is up and rsync for syncing all last new mails to backup folder. when I ran script to import new emails all last emails will be imported again and there were duplicated emails in user's accounts.
Do you have any suggestion for this problem?
is there any option in zmmailbox command to not import same messages ?
or there is a solution to rsync delete same messages in destination?
Thanks in advance
Migration from iredmail to zimbra using script problem
Re: Migration from iredmail to zimbra using script problem
anyone can't help? pleaseeee
- fs.schmidt
- Outstanding Member
- Posts: 278
- Joined: Sat Sep 13, 2014 3:37 am
- Location: Brazil
- Contact:
Re: Migration from iredmail to zimbra using script problem
fs.schmidt is right. Don't rsync the mail. Mail cannot be easily imported from a local directory. It can be, but you lose all IMAP metadata, so all of your imap clients will freak out.fs.schmidt wrote:Hello,
I think that Imapsync would be a better option for you: https://imapsync.lamiral.info/
Use imap sync. When used, all flags, folders, etc are preserved.
If you import from the filesystem, you lose folders and tags. So items currently in the sent folder will end up in the inbox.
Every imap client will delete their local mail and import all mail again.
Re: Migration from iredmail to zimbra using script problem
Hi,
Using imapsync tool for syncing between two server the tagged mails are failing to sync/import.
Error Pops up as :
Err 2/17: - msg INBOX/folder 678/8658 {1506} couldn't append (Subject:[]) to folder INBOX/Folder 678: 99 NO APPEND failed
Using imapsync tool for syncing between two server the tagged mails are failing to sync/import.
Error Pops up as :
Err 2/17: - msg INBOX/folder 678/8658 {1506} couldn't append (Subject:[]) to folder INBOX/Folder 678: 99 NO APPEND failed