-
imapsync error
I'm attempting to move messages from Exchange 5.5 to Zimbra via imapsync.
When I try, I get the following message:
exchsvr: No CAPABILITY for AUTHENTICATE CRAM-MD5
Clear Text login is enabled on Zimbra.
I've installed the following Perl modules:
Mail::IMAPClient
Term::ReadKey
Net::SSLeay
Getopt::Long
MIME::Base64
Digest::MD5
IO::Socket::SSL
Anyone have any insight on how to fix this problem?
-
Okay...I've resolved my problem even though I don't know it's cause.
I was using imapsync 1.190, now I've reverted back to imapsync 1.182 and it works.
I would appreciate it if anyone knows why that would matter.
Thanks.
-
I am getting this same thing now, whether I use authentication mechanism LOGIN or CRAM-MD5, same thing. And it says "NO cleartext logins disabled" whatever that means. I already went into my global settings and enabled clear text login though. /confused
-
Did you try to add "--ssl2" (for the second account) ?
-
Hmmm, no I haven't done that, where would I add that in this path?
imapsync --nosyncacls --subscribe --syncinternaldates \
--host1 server.gtds.lan --user1 yourAccount --password1 yourPassword \
--host2 zimbra.gtds.lan --user2 yourZimbraAccount --password2 yourZimbraPassword
I also tried "imapsync --nosyncacls --subscribe --syncinternaldates \
--host1 server.gtds.lan --user1 yourAccount --password1 yourPassword \
--host2 zimbra.gtds.lan --user2 yourZimbraAccount --password2 yourZimbraPassword --authmech1 LOGIN --authmech2 LOGIN"
This is actually my first real experience with RH EL4 or any of the RH versions, so I'm kind of learning as I go through trial and error. Where would i add -ssl2? or even ssl1 for that matter
-
I've used imapsync to migrate some customers from CourierIMAP to Zimbra (either CE or NE). I used :
Code:
imapsync --nosyncacls --subscribe --syncinternaldates \
--host1 server.gtds.lan --user1 yourAccount --password1 yourPassword \
--host2 zimbra.gtds.lan --user2 yourZimbraAccount --password2 yourZimbraPassword --ssl2
-
I hate life..... lol. Ok. When adding --ssl2 I get "can't locate IO/Socket/SSL.pm" and when I don't use --authmech1 LOGIN it tries to use CRAM-MD5 by default and it hangs on host 1 for a bit, then says "Error login, socket closed while reading data from server". This is confusing.
-
Ok let's make this easier, this is exactly what I get without --ssl2.
[root@myzimbraserver imapsync]# ./imapsync --nosyncacls --subscribe --syncinternaldates --host1 oldmailserver --user1 myusername --password1 mypassword --host2 myzimbraserver --user2 myusername --password2 mypassword --authmech1 LOGIN --authmech2 LOGIN $RCSfile: imapsync,v $ $Revision: 1.201 $ $Date: 2007/01/03 23:49:10 $
Mail::IMAPClient version used here is 2.2.9
will try to use LOGIN authentication on host1
will try to use LOGIN authentication on host2
From imap server [oldmailserver] port [143] user [myusername]
To imap server [myzimbraserver] port [143] user [myusername]
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 oldmailserver says it has NO CAPABILITY for AUTHENTICATE LOGIN
Banner : * OK myzimbraserver Zimbra IMAP4rev1 service ready
Host myzimbraserver says it has NO CAPABILITY for AUTHENTICATE LOGIN
Error login : [myzimbraserver] with user [myusername] : 3 NO cleartext logins disabled
Here is what i get WITH --ssl2 in addition to that stuff.
Can't locate IO/Socket/SSL.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./imapsync line 595.
-
It seems the perl SSL package is missing (or badly setup).
I can not help on the Exchange part as I have no clue how to set the auth to it.