Results 1 to 3 of 3

Thread: migration of qmail to zimbra

  1. #1
    nivrutti is offline Junior Member
    Join Date
    Jun 2010
    Posts
    9
    Rep Power
    5

    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.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dalmate is offline Elite Member
    Join Date
    Jan 2009
    Posts
    364
    Rep Power
    6

    Default

    as Phoenix said:
    you must use IMAP service
    143 port in both servers.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  2. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  3. Cleanup after many upgrades
    By tobru in forum Installation
    Replies: 1
    Last Post: 12-23-2007, 09:21 AM
  4. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

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