Roundcube Community Forum

Release Support => Release Discussion => Topic started by: 1cookie on September 22, 2013, 04:29:50 AM

Title: Roundcube: Connection to storage server failed
Post by: 1cookie on September 22, 2013, 04:29:50 AM
hi
I'm trying to login to one of my accounts 'admin', but receive the message below:

(http://acookson.org/wp-content/themes/blog/img/f.png)

If I check my logs:

Code: [Select]
/usr/local/www/roundcube/logs/errors
Code: [Select]
[21-Sep-2013 17:19:02 +0100]: IMAP Error: Login failed for admin from ip.ip.ip.ip. Could not connect to ip.ip.ip.ip:143:
Connection refused in /usr/local/www/roundcube/program/lib/Roundcube/rcube_imap.php on line 184
(POST /roundcube/?_task=login&_action=login)

That error corresponds to:

Code: [Select]
public function connect($host, $user, $pass, $port=143, $use_ssl=null) {}

from

Code: [Select]
rcube_imap.php on line 184
I tried this setting

Code: [Select]
// IMAP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null to use
// best server supported one)
//$rcmail_config['imap_auth_type'] = LOGIN;
$rcmail_config['imap_auth_type'] = null;

 in:
Code: [Select]
/usr/local/www/roundcube/config/main.inc.php
and this

Code: [Select]
// Log IMAP conversation to <log_dir>/imap or to syslog
$rcmail_config['imap_debug'] = /var/log/imap;

With a failed login attempt, nothing get's written to the above log. It's not an incorrect username password combination, so what is it? I'm assuming this error would have been encountered many times before only I can't seem to nail it down after several Googles?

EDIT:

I needed an entry in /etc/rc.conf

Code: [Select]
dovecot_enable="YES"
Schoolboy error.