Migration from iredmail to zimbra using script problem

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
Post Reply
izadi60
Posts: 43
Joined: Sat Sep 13, 2014 12:42 am

Migration from iredmail to zimbra using script problem

Post by izadi60 »

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
izadi60
Posts: 43
Joined: Sat Sep 13, 2014 12:42 am

Re: Migration from iredmail to zimbra using script problem

Post by izadi60 »

anyone can't help? pleaseeee
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Migration from iredmail to zimbra using script problem

Post by fs.schmidt »

Hello,

I think that Imapsync would be a better option for you: https://imapsync.lamiral.info/
Best regards.
Fabio S. Schmidt
http://www.bktech.com.br
Brasília - Brazil
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

Re: Migration from iredmail to zimbra using script problem

Post by jholder »

fs.schmidt wrote:Hello,

I think that Imapsync would be a better option for you: https://imapsync.lamiral.info/
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.
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.
jai
Posts: 1
Joined: Mon Apr 11, 2022 12:22 pm

Re: Migration from iredmail to zimbra using script problem

Post by jai »

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
Post Reply