Author Topic: connection to storage server failed.  (Read 1384 times)

Offline BillCreay

  • Newbie
  • *
  • Posts: 2
connection to storage 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://%h';

$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
« Last Edit: December 10, 2019, 06:17:57 PM by BillCreay »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,393
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…

Offline BillCreay

  • Newbie
  • *
  • Posts: 2
Re: connection to imap server failed.
« Reply #2 on: December 10, 2019, 05:37:06 PM »
Hi sorry for the late response, I was out of the country

I added that ssl config to the config file. to no avail.

No errors are showing in the dovecot log either.

In the roundcube errors.log, I am  getting this:
Code: [Select]
[10-Dec-2019 15:15:10 -0700]: <dvrhl7kt> IMAP Error: Login failed for user@example1.com against mail.example1.com from 192.168.1.1. Could not connect to ssl://mail.example1.com:993: Unknown reason in /var/www/roundcube/program/lib/Roundcube/rcube_imap.php on line 200 (POST /?_task=login&_action=login)

Don't know what to do with this.