Hello! I want to migrate my mailboxes and messages from Postfix to Zimbra

I create the mailbox and try to migrate so:

imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 1.1.1.1 --user1 mail@domain1.com --password1 pass1 --host2 2.2.2.2 --user2 mail@domain2.com --password2 pass2 --noauthmd5

and get errors

Trying command when NOT connected! at /usr/share/perl5/Mail/IMAPClient.pm line 118.
Mail::IMAPClient::LastError('Mail::IMAPClient=HASH (0x26c3038)', 'NO not connected') called at /usr/share/perl5/Mail/IMAPClient.pm line 1454
Mail::IMAPClient::_send_line('Mail::IMAPClient=HAS H(0x26c3038)', '17 LIST "" *', 0) called at /usr/share/perl5/Mail/IMAPClient.pm line 1304
Mail::IMAPClient::_imap_command_do('Mail::IMAPClie nt=HASH(0x26c3038)', 'LIST "" *') called at /usr/share/perl5/Mail/IMAPClient.pm line 1209
Mail::IMAPClient::_imap_command('Mail::IMAPClient= HASH(0x26c3038)', 'LIST "" *') called at /usr/share/perl5/Mail/IMAPClient.pm line 639
Mail::IMAPClient::_list_or_lsub('Mail::IMAPClient= HASH(0x26c3038)', 'LIST', undef, undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 654
Mail::IMAPClient::list('Mail::IMAPClient=HASH(0x26 c3038)', undef, undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 691
Mail::IMAPClient::_folders_or_subscribed('Mail::IM APClient=HASH(0x26c3038)', 'list', undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 714
Mail::IMAPClient::folders('Mail::IMAPClient=HASH(0 x26c3038)') called at /usr/bin/imapsync line 1211


What can I to solve this?Help me please..