Results 1 to 3 of 3

Thread: Migrating from old IMAP to new Zimbra with imapsync

  1. #1
    Join Date
    Dec 2011
    Posts
    30
    Rep Power
    3

    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!

  2. #2
    Join Date
    Nov 2010
    Posts
    4
    Rep Power
    4

    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

  3. #3
    Join Date
    Dec 2011
    Posts
    30
    Rep Power
    3

    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

Similar Threads

  1. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 10:13 AM
  2. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 04:43 AM
  3. Replies: 22
    Last Post: 12-02-2007, 04:05 PM
  4. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM

Tags for this Thread

Posting Permissions

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