If you have encountered the following error message trying to migrate or synchronize an IMAP mailbox using the great IMAPsync.pl script :
Host1: mail1.domain.tld says it has NO CAPABILITY for AUTHENTICATE LOGIN
Then you may want to look at the following :
– Bad credentials
– Special character in the password that need to be “escaped”.
In my particular case, the error output was irrelevant – the password had a dollar ($) sign and in that case, the password need to be within quotes ( ‘ ).
imapsync --host1 mail1.domain.tld --user1 email@example.com --password1 'C0mpl1c4ted$p4ssw0rd' --host2 mail2.domain.tld --user2 firstname.lastname@example.org --password2 'C0mpl1c4ted$p4ssw0rd'