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 11-18-2009, 04:20 AM
Loyal Member
 
Posts: 80
Default [SOLVED] imapsync give error

imapSync give error (auth [LOGIN]: 3 NO LOGIN failed)

#/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 mail.mydoman.com --user1 farrukhndm --password1 mypassword --noauthmd5 --host2 mail2.mydoman.com --user2 farrukhndm --password2 mypassword
$RCSfile: imapsync,v $ $Revision: 1.219 $ $Date: 2007/04/04 09:32:20 $
Here is a linux system Linux mail2.mydoman.com 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686)
with perl 5.8.8
Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 mail.mydoman.com --user1 farrukhndm --password1 mypassword --noauthmd5 --host2 mail2.mydoman.com --user2 farrukhndm --password2 mypassword
will try to use LOGIN authentication on host1
will try to use LOGIN authentication on host2
From imap server [mail.mydoman.com] port [143] user [farrukhndm]
To imap server [mail2.mydoman.com] port [143] user [farrukhndm]
Banner : * OK Dovecot ready.
Host mail.mydoman.com says it has NO CAPABILITY for AUTHENTICATE LOGIN
Success login on [mail.mydoman.com] with user [farrukhndm] auth [LOGIN]
Banner : * OK mail2.mydoman.com Zimbra IMAP4rev1 service ready
Host mail2.mydoman.com says it has NO CAPABILITY for AUTHENTICATE LOGIN
Error login : [mail2.mydoman.com] with user [farrukhndm] auth [LOGIN]: 3 NO cleartext logins disabled

3 NO cleartext logins disabled
...propagated at /usr/bin/imapsync line 676.

When i am changing the

[root@mail2 ~]# /usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 mail.mydomain --user1 farrukhndm --password1 mypassword --noauthmd5 --host2 mail2.mydomain --user2 farrukhndm --password2 mypassword --noauthmd5 --ssl2
$RCSfile: imapsync,v $ $Revision: 1.219 $ $Date: 2007/04/04 09:32:20 $
Here is a linux system Linux mail2.mydomain 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686)
with perl 5.8.8
Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 mail.mydomain --user1 farrukhndm --password1 mypassword --noauthmd5 --host2 mail2.mydomain --user2 farrukhndm --password2 mypassword --noauthmd5 --ssl2
will try to use LOGIN authentication on host1
will try to use LOGIN authentication on host2
From imap server [mail.mydomain] port [143] user [farrukhndm]
To imap server [mail2.mydomain] port [993] user [farrukhndm]
Banner : * OK Dovecot ready.
Host mail.mydomain says it has NO CAPABILITY for AUTHENTICATE LOGIN
Success login on [mail.mydomain] with user [farrukhndm] auth [LOGIN]
Can't locate Net/SSLeay.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/site_perl/5.8.8/IO/Socket/SSL.pm line 43.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/IO/Socket/SSL.pm line 43.
Compilation failed in require at /usr/bin/imapsync line 624.

please tell me where i am wrong??

thanks.

Last edited by farrukhndm; 11-20-2009 at 03:40 AM..
Reply With Quote
  #2 (permalink)  
Old 11-18-2009, 08:29 AM
Moderator
 
Posts: 1,531
Default

maybe you're missing the perl ssl module? imapsync requires a crapload of perl modules that aren't installed by default on a lot of systems. on suse the package is

perl-Crypt-SSLeay-0.56-16

make sure you have somethign similar for whatever distribution you're running it on if not you will need to install either from the installation disk if there is a package for your distribution or from cpan
Reply With Quote
  #3 (permalink)  
Old 11-18-2009, 10:03 PM
Advanced Member
 
Posts: 186
Lightbulb

Hi,
This error >> Error login : [mail2.mydoman.com] with user [farrukhndm] auth [LOGIN]: 3 NO cleartext logins disabled<< can be removed.

Enable the clear text login on server mail2.mydomain.com.

Try the following.
zmprov mcf zimbraImapCleartextLoginEnabled TRUE

regards
Adeel
Reply With Quote
  #4 (permalink)  
Old 11-19-2009, 11:47 PM
Loyal Member
 
Posts: 80
Default

Still having problem .
Quote:
[zimbra@mail2 ~]$ zmprov mcf zimbraImapCleartextLoginEnabled TRUE
[zimbra@mail2 ~]$ exit
logout
[root@mail2 ~]# /usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 mail.mydomain.com --user1 farrukhndm --password1 mypassword --noauthmd5 --host2 mail2.mydomain.com --user2 farrukhndm --password2 mypassword
$RCSfile: imapsync,v $ $Revision: 1.219 $ $Date: 2007/04/04 09:32:20 $
Here is a linux system Linux mail2.mydomain.com 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686)
with perl 5.8.8
Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 mail.mydomain.com --user1 farrukhndm --password1 mypassword --noauthmd5 --host2 mail2.mydomain.com --user2 farrukhndm --password2 mypassword
will try to use LOGIN authentication on host1
will try to use LOGIN authentication on host2
From imap server [mail.mydomain.com] port [143] user [farrukhndm]
To imap server [mail2.mydomain.com] port [143] user [farrukhndm]
Banner : * OK Dovecot ready.
Host mail.mydomain.com says it has NO CAPABILITY for AUTHENTICATE LOGIN
Success login on [mail.mydomain.com] with user [farrukhndm] auth [LOGIN]
Banner : * OK mail2.mydomain.com Zimbra IMAP4rev1 service ready
Host mail2.mydomain.com says it has NO CAPABILITY for AUTHENTICATE LOGIN
Error login : [mail2.mydomain.com] with user [farrukhndm] auth [LOGIN]: 3 NO LOGIN failed

3 NO LOGIN failed
...propagated at /usr/bin/imapsync line 676.


--------------------------------

still having problem in Sync??


thanks & waiting.
Reply With Quote
  #5 (permalink)  
Old 11-20-2009, 12:14 AM
Advanced Member
 
Posts: 186
Lightbulb

Are there 3 machines,imapsync is on the separate machine, right ?

Secondly, can you ping both the servers from the machine running imapsync,
Third, R u sure imap is okay on both the machine on port 143.


regards
Adeel
Reply With Quote
  #6 (permalink)  
Old 11-20-2009, 03:36 AM
Loyal Member
 
Posts: 80
Default

I have find out problem.
the problem is solved using complete emailaddress in --user2 farrukhndm@mail2.mydomain.com .As i am using more than domain for testing purpose.

Final imapsync command would that works for me is .

[root@mail2 ~]# /usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 mail.mydomain.com --user1 farrukhndm --password1 mypassword --noauthmd5 --host2 mail2.mydomain.com --user2 farrukhndm@mail2.mydomain.com --password2 mypassword --noauthmd5
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.