Awesome. Thank you for that tip (which I couldn't find documented anywhere). This got me closer. I'm still not able to login, but now the error message is just an authentication failure:
[01-Feb-2015 08:29:53 -0600]: IMAP Error: Login failed for pgoetz@episcopalarchives.org from 67.198.113.124. AUTHENTICATE PLAIN: authentication failure in /usr/share/webapps/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 184 (POST /?_task=login?_task=login&_action=login)
I am able to connect to the IMAP server using Thunderbird, so know this works in general. I basically just copied the sample configuration provided:
$config['imap_conn_options'] = array(
'ssl' => array(
'verify_peer' => true,
'verify_depth' => 3,
'cafile' => '/etc/ssl/certs/ssl-cert-cyrus.episcopalarchives.org.pem',
),
);
I did have to change the default host from
$config['default_host'] = 'tls://localhost';
to
$config['default_host'] = 'tls://mail.episcopalarchives.org';
as PHP was complaining that the CN name in the certificate didn't match "localhost".
Any thoughts on how to further debug this?