Results 1 to 6 of 6

Thread: [SOLVED] imapsync give error

  1. #1
    farrukhndm is offline Special Member
    Join Date
    Aug 2008
    Location
    Pakistan
    Posts
    100
    Rep Power
    6

    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.

  2. #2
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    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

  3. #3
    adeelarifbhatti is offline Advanced Member
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    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

  4. #4
    farrukhndm is offline Special Member
    Join Date
    Aug 2008
    Location
    Pakistan
    Posts
    100
    Rep Power
    6

    Default

    Still having problem .
    [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.

  5. #5
    adeelarifbhatti is offline Advanced Member
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    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

  6. #6
    farrukhndm is offline Special Member
    Join Date
    Aug 2008
    Location
    Pakistan
    Posts
    100
    Rep Power
    6

    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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Best course of action for missing/corrupted tables?
    By jimbo in forum Administrators
    Replies: 6
    Last Post: 02-08-2010, 09:12 AM
  2. Replies: 8
    Last Post: 10-19-2008, 09:52 AM
  3. [SOLVED] imapsync error
    By rajesh.s in forum General Questions
    Replies: 1
    Last Post: 06-30-2008, 07:19 AM
  4. syncinternaldates in imapsync error
    By mclain in forum Administrators
    Replies: 1
    Last Post: 02-27-2008, 09:43 AM
  5. imapsync error (\X-Has-Attach)
    By roopeshsheth in forum Administrators
    Replies: 13
    Last Post: 05-25-2007, 07:31 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
  •