Author Topic: connection to imap server failed.  (Read 161 times)

Offline BillCreay

  • Newbie
  • *
  • Posts: 1
connection to imap server failed.
« on: November 28, 2019, 06:49:45 PM »
Hi all,

I am having issues trying to connect to the mailserver with a fresh install of roundcube 1.4.

Here is the server configurations:

Mailserver:
Ubuntu18, iredmail 0.99, ports 993 incoming & 587 outgoing.
2 domains serving: mail.example1,com, mail.example2.com
IP 192.168.100.17

Webserver
Ubuntu18, nginx, Mysql, PHP7.3, Letsencrypt, roundcube1.4, Rainloop.
IP 192.168.100.18

Everything functioning correctly, Thunderbird, android K9, Evolution, rainloop.

Roundcube can't connect to mailserver.
current config.inc.php
Code: [Select]
<?php

$config 
= array();

$config['db_dsnw'] = 'mysql://user:password@localhost/roundcube_db';

$config['default_host'] = array(
  
'ssl://mail.example1:993' => 'Example1 Secure Webmail',
  
'ssl://mail.example2.com:993' => 'Example2 Secure Webmail'
);

$config['smtp_server'] = 'tls://mail.example1.com';

$config['smtp_port'] = 587;

$config['smtp_user'] = '%u';

$config['smtp_pass'] = '%p';

$config['support_url'] = '';

$config['product_name'] = 'Webmail';

$config['des_key'] = 'rcmail-!24ByteDESkey*Str';

$config['plugins'] = array(
    
'archive',
    
'zipdownload',
);

Any assistance will be greatly appreciated, have been trying to figure out this config file for a couple of days already

Regards

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,327
Re: connection to imap server failed.
« Reply #1 on: November 29, 2019, 03:40:23 AM »
What error do you get exactly (check the roundcube error log)?

I see you are using SSL so could it be related to this https://github.com/roundcube/roundcubemail/wiki/FAQ#problems-connecting-imapsmtp-server-via-ssltls?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦