$config['default_host'] = 'tls://fqdn';
This is the error message I get from dovecot when testing on the installation page:
Apr 11 16:10:24 fast dovecot: imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<[email protected]>, method=CRAM-MD5 ..... etc
I know the tls authentication works.... I use it all the time from Thunderbird. Why does roundcube try CRAM-MD5?
I've tested SMTP on the same system - same "tls://FQDN" - and it works.
In case it matters, I didn't at first realise that I needed the tls:// when setting up and changed it later in config/config.inc.php
I also tried re-running the installation and changing it there. Nothing so far seems to work.
In the config file (line 61 in my version) there is a cryptic note about hostname/users in the database, but so far that table is empty so I assume that's not the problem.
Answering my own question....
I had to add
config['imap_auth_type'] = 'PLAIN';
Obviously I'm not an expert. It took me 4 hours to figure that out >:(
Is there any truth in the axiom that asking the question often gives you the answer?