The migration of mail account failed with the error:
Unable to copy mail content of mailbox '<mail_name>'. Command exit code: 255, last 5 lines of output: │ │ Failure: error login on [<ip_address>] with user [<mail_name>] auth [LOGIN]: 2 BAD LOGIN- Invalid username or password.
'/root/migration-session/mailsync.log' contains the following error messages:
Host2: <ip_address> says it has NO CAPABILITY for AUTHENTICATE LOGIN
Failure: error login on [18.104.22.168] with user [firstname.lastname@example.org] auth [LOGIN]: 2 BAD LOGIN- Invalid username or password. at /usr/bin/imapsync line 2375 main::die_clean('Failure: error login on [22.214.171.124] with user [mailname@dom...') called at /usr/bin/imapsync line 2137 main::authenticate_imap('Mail::IMAPClient=HASH(0x152c958)', 126.96.36.199, 143,'email@example.com', undef, 'password', undef, 120, 0, ...) called at /usr/bin/imapsync line 2100 main::login_imap(188.8.131.52, 143, 'firstname.lastname@example.org', undef, 'password', undef, 120, 0,undef, ...) called at /usr/bin/imapsync line 1009
The issue might be caused either by incorrect mailbox password stored in source server database, or by the internal issue PPA-1823
Please make sure that you are able to connect to source IMAP server over telnet. If you have the telnet session result as below, the password is incorrect (password that is used could be fetched from the
[root@~]# telnet <source_server_ip> 143 Trying <source_server_ip>... Connected to <source_server_ip>. Escape character is '^]'. * OK IMAP4rev1 server ready at 09/12/14 23:24:34 a1 LOGIN email@example.com password a1 BAD LOGIN- Invalid username or password.
In order to successfully migrate mail content, update the password on source server via Plesk panel.
The internal issue PPA-1823 is resolved in PPA MU #7. Please install the latest micro updates and perform the migration again.