Results 1 to 4 of 4

Thread: migrating with imapsync: imap - APPEND failed: invalid name

  1. #1
    jcfischer is offline Member
    Join Date
    Sep 2008
    Posts
    12
    Rep Power
    6

    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...

  2. #2
    macyh's Avatar
    macyh is offline Junior Member
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    7

    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

  3. #3
    gettyless is offline Loyal Member
    Join Date
    Mar 2007
    Posts
    95
    Rep Power
    8

    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.

  4. #4
    tictacbum is offline Member
    Join Date
    Jan 2010
    Posts
    14
    Rep Power
    5

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installation zimbra Initializing ldap...failed. (28416)
    By farrukh.nadeem in forum Installation
    Replies: 10
    Last Post: 08-14-2009, 06:52 AM
  2. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  3. E61i IMAP sync - old bug back again?
    By matt_b in forum Zimbra Mobile
    Replies: 7
    Last Post: 08-10-2008, 02:38 PM
  4. Problem with Mail Server - Need help!
    By joeleo in forum Installation
    Replies: 2
    Last Post: 03-04-2008, 12:03 PM
  5. My Zimbra server down ... please help :)
    By frankb in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 11:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •