Hi
The host 192.168.3.10 is zimbra server. 192.168.200.6 is qmail server.
In imapsync command, it can connect to qmail server successfully, but cannot connect to zimbra server. After enabling clear text login I did restart the zimbra server. What authentication is required for imap in zimbra server. In zimbra server I can't login in imap server from Telnet. It gives error "No cleartext logins disabled"
output of imapsync:
[root@mail ~]# imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 192.168.200.6 --user1
abc@lsnet.com --password1 xyz --host2 192.168.3.10 --user2
abc@lsnet.in --password2 xyz --debug --debugimap --authmech1 PLAIN
get options: [1]
$RCSfile: imapsync,v $ $Revision: 1.219 $ $Date: 2007/04/04 09:32:20 $
Here is a linux system Linux mail.lsnet.in 2.6.9-22.EL #1 Mon Sep 19 18:20:28 EDT 2005 i686)
with perl 5.8.5
Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 192.168.200.6 --user1
abc@lsnet.com --password1 xyz --host2 192.168.3.10 --user2
abc@lsnet.in --password2 xyz --debug --debugimap --authmech1 PLAIN
will try to use PLAIN authentication on host1
will try to use CRAM-MD5 authentication on host2
From imap server [192.168.200.6] port [143] user [abc@lsnet.com]
To imap server [192.168.3.10] port [143] user [abc@lsnet.in]
From connection
Read: * OK [CAPABILITY IMAP4rev1 ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
Connect: Received this from readline: 0/OUTPUT/* OK [CAPABILITY IMAP4rev1 ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
Banner : * OK [CAPABILITY IMAP4rev1 ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
Sending: 1 CAPABILITY
Sent 14 bytes
Read: * CAPABILITY IMAP4rev1 ACL ACL2=UNION
1 OK CAPABILITY completed
Sending: 2 CAPABILITY
Sent 14 bytes
Read: * CAPABILITY IMAP4rev1 ACL ACL2=UNION
2 OK CAPABILITY completed
Host 192.168.200.6 says it has NO CAPABILITY for AUTHENTICATE PLAIN
Frequently PLAIN is only supported with SSL, try --ssl1 or --ssl2 option
Sending: 3 AUTHENTICATE PLAIN
Sent 22 bytes
Read: +
Sending: cmF2aXNhd2FudEBsaWZlc3R5bGUtbmV0d29ya3MuY29tAHJhdm lzYXdhbnRAbGlmZXN0eWxlLW5ldHdvcmtzLmNvbQAxNTAzMDY=
Sent 102 bytes
Read: 3 OK LOGIN Ok.
Success login on [192.168.200.6] with user [abc@lsnet.com] auth [PLAIN]
To connection
Read: * OK IMAP4 ready
Connect: Received this from readline: 0/OUTPUT/* OK IMAP4 ready
Banner : * OK IMAP4 ready
Sending: 1 CAPABILITY
Sent 14 bytes
Read: * CAPABILITY IMAP4rev1 ID LITERAL+ SASL-IR STARTTLS LOGINDISABLED
1 OK completed
Sending: 2 CAPABILITY
Sent 14 bytes
Read: * CAPABILITY IMAP4rev1 ID LITERAL+ SASL-IR STARTTLS LOGINDISABLED
2 OK completed
Host 192.168.3.10 says it has NO CAPABILITY for AUTHENTICATE CRAM-MD5
Sending: 3 AUTHENTICATE CRAM-MD5
Sent 25 bytes
Read: 3 NO mechanism not supported
Regards,