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:
/usr/local/www/roundcube/logs/errors
[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:
public function connect($host, $user, $pass, $port=143, $use_ssl=null) {}
from
rcube_imap.php on line 184
I tried this setting
// 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:
/usr/local/www/roundcube/config/main.inc.php
and this
// 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
dovecot_enable="YES"
Schoolboy error.