Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » imap migration with imapsync
  •  
marcobat

Messages: 28
Karma: 0
Send a private message to this user
Hi,
i'm migrating a few imap accounts from another server to kerio.
i'm using imapsync and everything seems to be working ok except that imapsync wants a "separator caracter" because of "No NAMESPACE capability in imap server".
I believe ths is for sub folders in the imap account (like: ~myemail/oldemail/veryold/).
Does anybody knows which separator character should be used?
Thanks.
Marco

[Updated on: Wed, 04 April 2007 15:39]

  •  
campodoro74

Messages: 119
Karma: 0
Send a private message to this user
You should use telnet to login to both mailservers, using port 143. These are the commands I used on the Kerio (destination) server:

telnet kerio 143
* OK IMAP4rev1 server ready

a01 login username password
a01 OK LOGIN completed

a02 list "*" ""
* LIST (\Noselect) "/" ""
a02 OK LIST completed

a03 list "" "*"
* LIST () "/" "INBOX"
* LIST () "/" "INBOX/Old mail"
a03 OK LIST completed

In this case, the prefix seems to be empty and the seperator is a /. Do the same for your old server (mine is a SME qmail server).

Your imapsync command would then look like this:
imapsync --host1 oldserver --host2 newserver --user1 olduser --user2 newuser --password1 oldpassword --password2 newpassword --nosyncacls --subscribe --syncinternaldates --noauthmd5 --sep1 / --prefix1 / --sep2 / --prefix2 ""


Try them out but be sure to use the --dry command to only testsync your mail.

[Updated on: Sun, 08 April 2007 11:44]

  •  
vitaliok

Messages: 4
Karma: 0
Send a private message to this user
Hi there!

If I start imapsyncronisation and something wrong happens while syncronising, will it affect old mailserver or only new server?


And if I will execute all mentioned commands in new and old mail server

a01 a02 a03 etc. will it change something to IMAP server or it just shows the listing?


  •  
vitaliok

Messages: 4
Karma: 0
Send a private message to this user
campodoro74 wrote on Sun, 08 April 2007 12:30

You should use telnet to login to both mailservers, using port 143. These are the commands I used on the Kerio (destination) server:

telnet kerio 143
* OK IMAP4rev1 server ready

a01 login username password
a01 OK LOGIN completed

a02 list "*" ""
* LIST (\Noselect) "/" ""
a02 OK LIST completed

a03 list "" "*"
* LIST () "/" "INBOX"
* LIST () "/" "INBOX/Old mail"
a03 OK LIST completed

In this case, the prefix seems to be empty and the seperator is a /. Do the same for your old server (mine is a SME qmail server).

Your imapsync command would then look like this:
imapsync --host1 oldserver --host2 newserver --user1 olduser --user2 newuser --password1 oldpassword --password2 newpassword --nosyncacls --subscribe --syncinternaldates --noauthmd5 --sep1 / --prefix1 / --sep2 / --prefix2 ""


Try them out but be sure to use the --dry command to only testsync your mail.





Hi there!


I did as followed:


Old server:

1. telnet oldserver 143
telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.


a01 login username password
a01 OK LOGIN Ok.

a02 list "*" ""
a02 OK LIST completed


a03 list "" "*"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Spam"
* LIST (\Marked \HasChildren) "." "INBOX"
a03 OK LIST completed




Now I did same commands on

New MailServer

telnet newmailserver 143

a01 login username password
a01 OK LOGIN completed

a02 list "*" ""
* LIST (\Noselect) "/" ""
a02 OK LIST completed

a03 list "" "*"
* LIST () "/" "INBOX"
* LIST () "/" "Deleted Items"
* LIST () "/" "Drafts"
* LIST () "/" "Junk E-mail"
* LIST () "/" "Sent Items"
* LIST (\Noselect) "/" "Public Folders"
* LIST (\Noselect) "/" "Archive Folders"
a03 OK LIST completed


How to imapsync in this case? What is exact imapsync command should I execute?



Previous Topic: Reindexing: Update
Next Topic: cross-domain users
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sun Nov 19 09:52:26 CET 2017

Total time taken to generate the page: 0.00535 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.