and I am getting the error as below :
$RCSfile: imapsync,v $ $Revision: 1.315 $ $Date: 2010/06/11 02:51:54 $
Here is a [linux] system (Linux 192.168.4.55 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686)
with perl 5.8.8
Mail::IMAPClient 3.25 and the module Mail::IMAPClient version used here is 3.25
Command line used:
/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --allow3xx --host1 192.168.4.55 --port1 143 --user1
niv@passion.com --password1 MASKED --noauthmd5 --host2 192.168.1.18 --port2 7110 --user2
niv@passion.com --password2 MASKED --noauthmd5 --authmech1 LOGIN --authmech2 PLAIN
Temp directory is /tmp
Turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
TimeZone:[IST]
Will try to use LOGIN authentication on host1
Will try to use PLAIN authentication on host2
Host1 imap server [192.168.4.55] port [143] user [niv@passion.com]
Host2 imap server [192.168.1.18] port [7110] user [niv@passion.com]
Banner: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
Host 192.168.4.55 says it has NO CAPABILITY for AUTHENTICATE LOGIN
Success login on [192.168.4.55] with user [niv@passion.com] auth [LOGIN]
Banner: +OK 192.168.1.18 Zimbra POP3 server ready
Trying command when NOT connected! at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 116
Mail::IMAPClient::LastError('Mail::IMAPClient=HASH (0x9102164)', 'NO not connected') called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 1540
Mail::IMAPClient::_send_line('Mail::IMAPClient=HAS H(0x9102164)', '2 CAPABILITY', 0) called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 1400
Mail::IMAPClient::_imap_command_do('Mail::IMAPClie nt=HASH(0x9102164)', 'CAPABILITY') called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 1312
Mail::IMAPClient::_imap_command('Mail::IMAPClient= HASH(0x9102164)', 'CAPABILITY') called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 2768
Mail::IMAPClient::capability('Mail::IMAPClient=HAS H(0x9102164)') called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPCLient.pm line 2784
Mail::IMAPClient::has_capability('Mail::IMAPClient =HASH(0x9102164)', 'PLAIN') called at /usr/bin/imapsync line 815
main::login_imap(192.168.1.18, 7110, 'niv@passion.com', 'niv123', 'undef', 'undef', 0, 'undef', 'undef', ...) called at /usr/bin/imapsync line 777
Host 192.168.1.18 says it has NO CAPABILITY for AUTHENTICATE PLAIN
Frequently PLAIN is only supported with SSL, try --ssl1 or --ssl2 option
Trying command when NOT connected! at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 116
Mail::IMAPClient::LastError('Mail::IMAPClient=HASH (0x9102164)', 'NO not connected') called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 1540
Mail::IMAPClient::_send_line('Mail::IMAPClient=HAS H(0x9102164)', '3 AUTHENTICATE PLAIN', 0) called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 1400
Mail::IMAPClient::_imap_command_do('Mail::IMAPClie nt=HASH(0x9102164)', 'AUTHENTICATE PLAIN', '+') called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 1312
Mail::IMAPClient::_imap_command('Mail::IMAPClient= HASH(0x9102164)', 'AUTHENTICATE PLAIN', '+') called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 3090
Mail::IMAPClient::authenticate('Mail::IMAPClient=H ASH(0x9102164)', 'PLAIN', 'CODE(0x90786e0)') called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 436
Mail::IMAPClient::login('Mail::IMAPClient=HASH(0x9 102164)') called at /usr/bin/imapsync line 837
main::login_imap(192.168.1.18, 7110, 'niv@passion.com', 'niv123', 'undef', 'undef', 0, 'undef', 'undef', ...) called at /usr/bin/imapsync line 777
Error login: [192.168.1.18] with user [niv@passion.com] auth [PLAIN]: Error sending '3 AUTHENTICATE PLAIN': NO not connected
Error login: [192.168.1.18] with user [niv@passion.com] auth [PLAIN]: Error sending '3 AUTHENTICATE PLAIN': NO not connected
So please let me know what was the issue and what should else I do to migrate qmail to zimbra.