Link to home
Start Free TrialLog in
Avatar of GEMCC
GEMCC

asked on

Roundcube - Connection to storage server failed.

Hello,

I installed version 0.9.5.  I am getting the error: Connection to storage server failed. when trying to login.  Not sure what else to share but the attached files.

If I run the installer and try the IMAP connection test, I get:

Connecting to mail.domain.net...
IMAP connect:  NOT OK(Login failed for user@domain.net from 192.168.1.1(X-Forwarded-For: xxx.xxx.xxx.xxx). Could not connect to mail.domain.net:143: Connection refused)

I made sure port 143 is open on the firewall.

Please advise.

Have a great day,

Don
db.inc.php
main.inc.php
Avatar of xterm
xterm

What do you see when issuing the following command from the Roundcube server?

$> telnet mail.domain.net 143

This will at least test that IMAP is listening on your mail server, and that no firewall on either side impedes it.  You should see something like this:

[root@foo ~]# telnet mail.domain.net 143
Trying 192.168.1.1...
Connected to mail.domain.net (192.168.1.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc.  See COPYING for distribution information.
Avatar of GEMCC

ASKER

Hello and thanks for responding,

I cannot telnet mail.domain.net 143 from the Postfix/Dovecot server, but I can telnet 192.168.1.2 143 and it replies back with:

* OKAY [COMPATIBILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

I can telnet mail.domain.net 143 from my laptop and it replies with:

* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE START
TLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.


Any ideas?

Have a great day,

Don
I guess I'm not clear on your setup (and which system is the laptop, which is the Roundcube server, etc.) but the web server where you're running Roundcube obviously needs to be able to connect to the IMAP server on port 143.  The error you got when running the connection test in the installer implied that this was not possible - trying to tell if that error is valid or not.
Avatar of GEMCC

ASKER

Hello,

I am saying from the server (Linux) in which Postfix/ Dovecot & Roundcube are installed I cannot telnet mai.domain.net 143, but I can telnet 192.168.1.2 143.

Also from my laptop which is going through the Internet (it is not a LAN connection), I can telnet mai.domain.net 143.

Also, I am not able to login to Roundcube and receive the error: Connection to storage server failed.

Notice in line 25 of db.inc.php it says:
$rcmail_config['db_dsnw'] = 'mysql://roundcube:Pa55w0rd@localhost/roundcube';

I wonder:
1. If this is in the correct format/ syntax
2. I do have a roundcube account setup, but should I use another or make sure the permissions are correct?  If so, what should the permissions be?

Please advise.

Have a great day,

Don
ASKER CERTIFIED SOLUTION
Avatar of xterm
xterm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GEMCC

ASKER

Woohoo!  It worked!  Thank you very much!
Avatar of GEMCC

ASKER

Issue resolved!
Enjoy :)