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 12-11-2011, 10:08 AM
Active Member
 
Posts: 28
Default Migrating from old IMAP to new Zimbra with imapsync

Zimbra version:
Release 6.0.14_GA_2928.DEBIAN5 DEBIAN5 FOSS edition.


I've been reading and searching the forums and see lots of things on how to do this using imapsync. I keep getting errors, I feel like I'm getting closer, but I know the issue is somehow related to the configuration of my Zimbra server. It originally would not let me log in using any authentication methods. I found how to allow PLAIN on the server so I did that, but still no go.

I'm stuck here and would love and appreciate any help.

My imapsync command is:
Code:
imapsync --host1 mail.domain.com --user1 me@domain.com --password1 123456 --host2 mail2.domain.com --user2 newuser@domain.com --password2 654321 -authmech2 PLAIN --ssl2 --port2 993
The result I am getting is:
Code:
Turned ON syncinternaldates, will set the internal dates on host2 same as host1.
TimeZone :[PST]
Will try to use CRAM-MD5 authentication on host1
Will try to use PLAIN authentication on host2
From imap server [mail.domain.com] port [143] user [me@domain.com]
To   imap server [mail2.domain.com] port [993] user [newuser@domain.com]
Banner : * OK domain.com IMAP4rev1 MDaemon 10.0.2 ready
Host mail.domain.com says it has CAPABILITY for AUTHENTICATE CRAM-MD5
Success login on [mail.domain.com] with user [me@domain.com] auth [CRAM-MD5]
Banner : No banner
Host mail2.domain.com says it has CAPABILITY for AUTHENTICATE PLAIN
Error login : [mail2.domain.com] with user [newuser@domain.com] auth [PLAIN]: 2 NO AUTHENTICATE failed

Trying LOGIN Auth mechanism on [mail.domain2.com] with user [newuser@domain2.com]
Error login : [mail2.domain.com] with user [newuser@domain.com] auth [LOGIN] : 3 NO LOGIN failed
My IMAP config from Zimbra:
Code:
mail2:/# zmprov gs mail2.domain.com | grep Imap
zimbraImapBindOnStartup: TRUE
zimbraImapBindPort: 143
zimbraImapCleartextLoginEnabled: TRUE
zimbraImapExposeVersionOnBanner: FALSE
zimbraImapMaxRequestSize: 10240
zimbraImapNumThreads: 200
zimbraImapProxyBindPort: 7143
zimbraImapSSLBindOnStartup: TRUE
zimbraImapSSLBindPort: 993
zimbraImapSSLProxyBindPort: 7993
zimbraImapSSLServerEnabled: TRUE
zimbraImapSaslGssapiEnabled: FALSE
zimbraImapServerEnabled: TRUE
zimbraImapShutdownGraceSeconds: 10
zimbraReverseProxyImapEnabledCapability: ACL
zimbraReverseProxyImapEnabledCapability: BINARY
zimbraReverseProxyImapEnabledCapability: CATENATE
zimbraReverseProxyImapEnabledCapability: CHILDREN
zimbraReverseProxyImapEnabledCapability: CONDSTORE
zimbraReverseProxyImapEnabledCapability: ENABLE
zimbraReverseProxyImapEnabledCapability: ESEARCH
zimbraReverseProxyImapEnabledCapability: ESORT
zimbraReverseProxyImapEnabledCapability: I18NLEVEL=1
zimbraReverseProxyImapEnabledCapability: ID
zimbraReverseProxyImapEnabledCapability: IDLE
zimbraReverseProxyImapEnabledCapability: IMAP4rev1
zimbraReverseProxyImapEnabledCapability: LIST-EXTENDED
zimbraReverseProxyImapEnabledCapability: LITERAL+
zimbraReverseProxyImapEnabledCapability: MULTIAPPEND
zimbraReverseProxyImapEnabledCapability: NAMESPACE
zimbraReverseProxyImapEnabledCapability: QRESYNC
zimbraReverseProxyImapEnabledCapability: QUOTA
zimbraReverseProxyImapEnabledCapability: RIGHTS=ektx
zimbraReverseProxyImapEnabledCapability: SASL-IR
zimbraReverseProxyImapEnabledCapability: SEARCHRES
zimbraReverseProxyImapEnabledCapability: SORT
zimbraReverseProxyImapEnabledCapability: THREAD=ORDEREDSUBJECT
zimbraReverseProxyImapEnabledCapability: UIDPLUS
zimbraReverseProxyImapEnabledCapability: UNSELECT
zimbraReverseProxyImapEnabledCapability: WITHIN
zimbraReverseProxyImapExposeVersionOnBanner: FALSE
zimbraReverseProxyImapSaslGssapiEnabled: FALSE
zimbraReverseProxyImapSaslPlainEnabled: TRUE
zimbraReverseProxyImapStartTlsMode: only
zimbraStatThreadNamePrefix: ImapSSLServer
zimbraStatThreadNamePrefix: ImapServer
Thanks again for any help!
Reply With Quote
  #2 (permalink)  
Old 12-11-2011, 04:17 PM
Starter Member
 
Posts: 2
Default

Hello,

It looks like login/password are wrong.
You can test this manually with telnet.

telnet mail2.domain.com 143
a02 LOGIN newuser@domain.com secret
a86 LOGOUT
Reply With Quote
  #3 (permalink)  
Old 12-11-2011, 05:04 PM
Active Member
 
Posts: 28
Red face

Quote:
Originally Posted by GillesLAMIRAL View Post
Hello,

It looks like login/password are wrong.
You can test this manually with telnet.

telnet mail2.domain.com 143
a02 LOGIN newuser@domain.com secret
a86 LOGOUT
I can't believe I made such a n00b error! I checked the logins/passwords 10 times and didn't realize I was mixing user1's login with user2's password.

Geez!

Thanks for the wake up
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.