Linux : IMAPsync Host says it has NO CAPABILITY for AUTHENTICATE LOGIN

By | March 14, 2018

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 ( ‘ ).

Example :

imapsync --host1 mail1.domain.tld --user1 user@domain.tld --password1 'C0mpl1c4ted$p4ssw0rd' --host2 mail2.domain.tld --user2 user@domain.tld --password2 'C0mpl1c4ted$p4ssw0rd'