Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 07-05-2010, 03:19 AM
Junior Member
 
Posts: 9
Default migration of qmail to zimbra

Hi All,

I have installed zimbra 6.0 (open source) on my local machine. It is working fine. Now I want to migrate the mails from qmail to zimbra. So I have installed imapsync 1.315 on my qmail server. But when I run the migration command, I am getting some error. The command which I have entered is :

imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --allow3xx --host1 192.168.4.55 --port1 143 --user1 niv@passion.com --password1 niv123 --noauthmd5 --host2 192.168.1.18 --port2 7110 --user2 niv@passion.com --password2 niv123 --noauthmd5 --authmech1 LOGIN --authmech2 PLAIN

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.
Reply With Quote
  #2 (permalink)  
Old 07-05-2010, 03:41 AM
Zimbra Consultant & Moderator
 
Posts: 19,602
Default

Quote:
Originally Posted by nivrutti View Post
imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --allow3xx --host1 192.168.4.55 --port1 143 --user1 niv@passion.com --password1 niv123 --noauthmd5 --host2 192.168.1.18 --port2 7110 --user2 niv@passion.com --password2 niv123 --noauthmd5 --authmech1 LOGIN --authmech2 PLAIN
Probably a dumb question but why aren't you using an IMAP port to submit the email to Zimbra?

Quote:
Originally Posted by nivrutti View Post
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.
Same question as above and this is using IMAPSYSNC, after all.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-05-2010, 08:27 PM
Elite Member
 
Posts: 328
Default

as Phoenix said:
you must use IMAP service
143 port in both servers.
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.