Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-29-2008, 07:53 AM
Member
 
Posts: 12
Default migrating with imapsync: imap - APPEND failed: invalid name

I'm trying to migrate our domains mail from a IMAP server at Joyent to a new installation of Zimbra 5.0.9 with imapsync:

imapsync throws these errors at me:

+ NO msg #229 [zId1umXxCnAQQkF1gAjLcA:2927] in Archiv
+ Copying msg #229:2927 to folder Archiv
flags from : [\Answered \Seen $Joyent:id:123456 $NotJunk JunkRecorded]["10-Apr-2007 10:35:01 +0200"]
267 NO APPEND failed
at /usr/bin/imapsync line 1360
Couldn't append msg #229 (Subject:[RE: bla bla]) to folder Archiv: 267 NO APPEND failed


and in /opt/zimbra/log/mailbox.log I see the following errors:

2008-09-29 16:45:06,004 INFO [ImapServer-4] [name=xxx@xxx.tld;mid=4;ip=77.95.121.148;] imap - APPEND failed: invalid name: $Joyent:id:123456


I'm out of ideas...
Reply With Quote
  #2 (permalink)  
Old 09-29-2008, 08:15 AM
New Member
 
Posts: 4
Default

Imapsync is very useful migration tool, however it has some undocumented limitations that you have to discover, isolate and work around.

I had problems using imapsync with certain characers in folder and password fields. Specifically, it didn't want to work with spaces or special characters in folder names, plus it didn't like periods or certain special characters in passwords. It also doesn't like very long folder names or deeply nested folder sets.

The program moved most of my users and folders find after a bit to testing. I examined the output logs and manually ran imapsync on troublesome accounts and folders. [In my case, this was easier and faster than trying to fix the underlying program limitiations.]

For me, the solution was to change all folder names to alphameric only, change passwords as well. Still ended up with a few folders that I had to copy over by hand using Thunderbird.
__________________
Macy Hallock - Hallock Consulting - Medina, Ohio
Reply With Quote
  #3 (permalink)  
Old 04-06-2009, 05:10 PM
Loyal Member
 
Posts: 92
Default

As far as I can tell imapsync works fine with IMAP folder names that contain spaces - you just need to escape the spaces with a backslash:

Code:
 imapsync -user1 ayn -host1 mail.microsoft.com -ssl1 -user2 ayn -host2 zimbra.blah.com -ssl2 -noauthmd5 --folder INBOX.Logs\ -\ Logwatch
..but ampersands look like they don't work.
Reply With Quote
  #4 (permalink)  
Old 03-27-2012, 02:27 AM
Member
 
Posts: 13
Default

so old thread, but I found this issue now.. on /opt/zimbra/log/mailbox.log I found this messages:

imap - APPEND failed: invalid name: Todo:FLAG0

so I deleted all user added flags on the origin account to solve problem
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.