how to perform migration postfix maildir and zimbra with authentication in active directory in two servers

[root@lnxmail ~]# imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --noauthmd5 --host1 172.16.1.3 --user1 efcunha@xxx.xx.xxx.br --password1 13546289 --host2 172.16.1.99 --user2 efcunha@xxx.xx.xxx.br --password2 13546289 --authmech2 LOGIN
$RCSfile: imapsync,v $ $Revision: 1.286 $ $Date: 2009/07/24 15:53:04 $
Here is a [linux] system (Linux lnxmail 2.6.18-128.7.1.el5PAE #1 SMP Mon Aug 24 08:59:38 EDT 2009 i686)
with perl 5.8.8
Mail::IMAPClient 3.19
IO::Socket 1.31
IO::Socket::SSL
Digest::MD5 2.36
Digest::HMAC_MD5
Term::ReadKey
Date::Manip
and the module Mail::IMAPClient version used here is 3.19
Command line used:
/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --noauthmd5 --host1 172.16.1.3 --user1 efcunha@xxx.xx.xxx.br --password1 MASKED --host2 172.16.1.99 --user2 efcunha@xxx.xx.xxx.br --password2 MASKED --authmech2 LOGIN
Turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
TimeZone:[AMT]
Will try to use LOGIN authentication on host1
Will try to use LOGIN authentication on host2
From imap server [172.16.1.3] port [143] user [efcunha@xxx.xx.xxx.br]
To imap server [172.16.1.99] port [143] user [efcunha@xxx.xx.xxx.br]
Banner: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.
Host 172.16.1.3 says it has NO CAPABILITY for AUTHENTICATE LOGIN
Error login: [172.16.1.3] with user [efcunha@xxx.xx.xxx.br] auth [LOGIN]: 2 NO Login failed.
Error login: [172.16.1.3] with user [efcunha@xxx.xx.xxx.br] auth [LOGIN]: 2 NO Login failed.