Hello everybody!
I am new on zimbra and I am planning to migrate some users from a Mail Server with DOVECOT+EXIM (without ssl) to a zimbra machine for tests. I install zimbra Release 5.0.5_GA_2201.DEBIAN4.0 DEBIAN4.0 FOSS edition in a Deb machine, all OK install and woks perfect. I migrate all users from my old server via zmprov from a shadow file, again all works great passwords sync all OK. But when I try to move some mail from old server to the new with imapsync I had some problems.
First I cant connect to the old server, my fault I was using the MD5-CRAM to auth and the server don have it... Solved
Second I cant connect to the zimbra server, I try the following command

imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 192.168.1.254 --user1 ggsilva --password1 guigsilva --authmech1 PLAIN --host2 zimbra.cm-arruda.pt --user2 ggsilva --password2 guigsilva --ssl2

and get :

$RCSfile: imapsync,v $ $Revision: 1.219 $ $Date: 2007/04/04 09:32:20 $
Here is a linux system Linux zimbra 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686)
with perl 5.8.8
Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 192.168.1.254 --user1 ggsilva --password1 guigsilva --authmech1 PLAIN --host2 zimbra.cm-arruda.pt --user2 ggsilva --password2 guigsilva --ssl2
will try to use PLAIN authentication on host1
will try to use CRAM-MD5 authentication on host2
From imap server [192.168.1.254] port [143] user [ggsilva]
To imap server [zimbra.cm-arruda.pt] port [993] user [ggsilva]
Banner : * OK Dovecot ready.
Host 192.168.1.254 says it has CAPABILITY for AUTHENTICATE PLAIN
Success login on [192.168.1.254] with user [ggsilva] auth [PLAIN]
Banner : No banner
Host zimbra.cm-arruda.pt says it has NO CAPABILITY for AUTHENTICATE CRAM-MD5

then I try this
imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 192.168.1.254 --user1 ggsilva --password1 guigsilva --authmech1 PLAIN --host2 zimbra.cm-arruda.pt --user2 ggsilva --password2 guigsilva --ssl2 --authmech2 LOGIN
and get this

$RCSfile: imapsync,v $ $Revision: 1.219 $ $Date: 2007/04/04 09:32:20 $
Here is a linux system Linux zimbra 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686)
with perl 5.8.8
Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 192.168.1.254 --user1 ggsilva --password1 guigsilva --authmech1 PLAIN --host2 zimbra.cm-arruda.pt --user2 ggsilva --password2 guigsilva --ssl2 --authmech2 LOGIN
will try to use PLAIN authentication on host1
will try to use LOGIN authentication on host2
From imap server [192.168.1.254] port [143] user [ggsilva]
To imap server [zimbra.cm-arruda.pt] port [993] user [ggsilva]
Banner : * OK Dovecot ready.
Host 192.168.1.254 says it has CAPABILITY for AUTHENTICATE PLAIN
Success login on [192.168.1.254] with user [ggsilva] auth [PLAIN]
Banner : No banner
Host zimbra.cm-arruda.pt says it has NO CAPABILITY for AUTHENTICATE LOGIN
Error login : [zimbra.cm-arruda.pt] with user [ggsilva] auth [LOGIN]: 3 NO login failed

3 NO login failed
...propagated at /usr/bin/imapsync line 676.

i can login in the web interface with this user and this pass. Zimbra cant auth CRAM-MD5? There is any parameter to pass to imapsync that I forgot?

Can any one help me please?

Thanks
Guilherme