Hi,
I am trying sync emails from my old server (postfix, dovecot) server to zimbra.
I tried both
username1=`echo $REPLY` # $REPLY is a bash builtin
username2=`echo $REPLY | cut -d\* -f 1` # Strip the star etc
echo "Syncing User $username1 to $username2"
imapsync --buffersize 8192000 --nosyncacls --syncinternaldates --subscribe \
--host1 $host1 --user1 "$username1" --passfile1 host1pass.txt \
--host2 $host2 --user2 "$username2" --passfile2 host2pass.txt --noauthmd5
Gives:
Temp directory is /tmp
PID file is /tmp/imapsync.pid
/tmp/imapsync.pid already exists, overwriting it
Modules version list:
Mail::IMAPClient 3.23
IO::Socket 1.30
IO::Socket::SSL 1.13
Digest::MD5 2.36
Digest::HMAC_MD5 1.01
Term::ReadKey 2.30
Host OldServer says it has NO CAPABILITY for AUTHENTICATE LOGIN
Deep recursion on subroutine "Mail::IMAPClient::Socket" at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 1609.
Deep recursion on subroutine "Mail::IMAPClient::login" at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 389.
Deep recursion on subroutine "Mail::IMAPClient::_imap_command" at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 453.
Deep recursion on subroutine "Mail::IMAPClient::Socket" at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 1558.
Deep recursion on subroutine "Mail::IMAPClient::Socket" at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 1609.
Deep recursion on subroutine "Mail::IMAPClient::reconnect" at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 1321.
Deep recursion on subroutine "Mail::IMAPClient::connect" at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 1288.
Deep recursion on subroutine "Mail::IMAPClient::Socket" at /usr/lib/perl5/vendor_perl/5.8.8/Mail/IMAPClient.pm line 345.
and
imapsync --buffersize 8192000 --nosyncacls --syncinternaldates \
--host1 $host1 --user1 "$username1" --passfile1 host1pass.txt \
--host2 $host2 --user2 "$username2" --passfile2 host2pass.txt --authmech1 PLAIN --authmech2 PLAIN
gives
Host OldServer says it has CAPABILITY for AUTHENTICATE PLAIN
Error login: [OldServer] with user [user@domain.com*zimbra] auth [PLAIN]: * BYE Internal login failure. Refer to server log for more information.
Error login: [OldServer] with user [user@domain.com*zimbra] auth [PLAIN]: * BYE Internal login failure. Refer to server log for more information.
Please help.
Thanks,
Siraj. |