I have installed RroundCube (Using PHP) on a sub-domain (http://email.risc.work) and using Yandex to host mailing services for my domain (http://risc.work).
IMAP is enabled at Yandex and I can access it from Gmail as well using required credential(s)
The config.inc.php file at email.risc.work/htdocs/config/ as configured accordingly as well, as described below
$config['default_host'] = 'ssl://imap.yandex.com'; $config['default_port'] = 993; $config['smtp_server'] = 'ssl://smtp.yandex.com'; $config['smtp_port'] = 465; $config['smtp_user'] = '%u'; $config['smtp_pass'] = '%p'; $config['ip_check'] = true; $config['des_key'] = **<REDUCTED FOR SECURITY>**; $config['username_domain_forced'] = true; $config['username_domain'] = 'risc.work';
However, each time I try to login from RoundCube at http://email.risc.work, I am getting error stating Connection to IMAP Server Failed. I am not getting any such issues as being able to successfully send and receive mail using Gmail with exact same credential.