• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Login Problems with IMAP, Courier on Webinterface (Horde / Roundcube) in Plesk 11.5

poppsworld.com

Basic Pleskian
Hello,

since some days we are facing problems logging in, into our webinterface (we tried both: roundcube and horde) in Plesk Version 11.5.30 Update #12 on a CENTOS 6.X-Machine.

When trying to login to the E-Mail Webinterface we receive timeouts:

tail -f /var/log/plesk-roundcube/errors shows:

Code:
[22-Aug-2013 14:02:56 +0200]: IMAP Error: Login failed for XXX from X.X.X.X. Could not connect to localhost:143: Die Wartezeit für die Verbindung ist abgelaufen in /usr/share/psa-roundcube/program/include/rcube_imap.php on line 191 (POST /?_task=login&_action=login)

--> Timeout

tail -f /usr/local/psa/var/log/maillog shows:

Code:
Aug 22 14:08:54 XXX courier-imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=12, sent=365
Aug 22 14:08:54 XXX courier-imaps: Connection, ip=[::ffff:127.0.0.1]
Aug 22 14:08:54 XXX courier-imaps: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=12, sent=356

But Courier-IMAP seems to run. I can login (after some time... it takes some seconds to connect):

Code:
telnet localhost 143
Trying ::1...
telnet: connect to address ::1: Connection timed out
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 AUTH=PLAIN IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc.  See COPYING for distribution information.
1 LOGIN [EMAIL="[email protected]"][email protected][/EMAIL]  password
1 OK LOGIN Ok.

Actually i have no idea how to fix this. Can anyone help me with this issue?


Thanks and best regards
Lars
 
Hello,

since some days we are facing problems while login into Webmail-webinterface (we tried both: roundcube and horde) in Plesk Version 11.5.30 Update #12 on a CENTOS 6.X-Machine.

When trying to login to the E-Mail Webinterface we receive timeouts:

tail -f /var/log/plesk-roundcube/errors shows:

Code:
[22-Aug-2013 14:02:56 +0200]: IMAP Error: Login failed for XXX from X.X.X.X. Could not connect to localhost:143: Die Wartezeit für die Verbindung ist abgelaufen in /usr/share/psa-roundcube/program/include/rcube_imap.php on line 191 (POST /?_task=login&_action=login)

--> Timeout

Same for Horde:

Code:
2013-08-22T15:05:49+02:00 ERR: HORDE [imp] Verbindung zum E-Mail-Server fehlgeschlagen. [110] Die Wartezeit für die Verbindung ist abgelaufen [pid 15600 on line 387 of "/usr/share/psa-horde/imp/lib/Imap.php"]
2013-08-22T15:05:49+02:00 ERR: HORDE [horde] FAILED LOGIN for [email protected] ([email protected]) [217.8.50.4] to Horde [pid 15600 on line 210 of "/usr/share/psa-horde/login.php"]
tail -f /usr/local/psa/var/log/maillog shows:

Code:
Aug 22 14:08:54 XXX courier-imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=12, sent=365
Aug 22 14:08:54 XXX courier-imaps: Connection, ip=[::ffff:127.0.0.1]
Aug 22 14:08:54 XXX courier-imaps: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=12, sent=356

But Courier-IMAP seems to run. I can login (after some time... it takes some seconds to connect):

Code:
telnet localhost 143
Trying ::1...
telnet: connect to address ::1: Connection timed out
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 AUTH=PLAIN IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc.  See COPYING for distribution information.
1 LOGIN [EMAIL="[email protected]"][email protected][/EMAIL]  password
1 OK LOGIN Ok.

Actually i have no idea how to fix this. Can anyone help me with this issue?


Thanks and best regards
Lars
 
Last edited:
Small update:

After changing line 57 in /usr/share/psa-roundcube/config/main.inc.php

from

Code:
$rcmail_config['default_host'] = 'localhost';

to

Code:
$rcmail_config['default_host'] = '127.0.0.1';

i can login using roundcube.

Changing line 301 in /usr/share/psa-horde/imp/config/backends.php to:

Code:
    'hostspec' => '127.0.0.1',

i can login using horde.

Seems like some name-resolving or maybe DNS-issue in Centos/Plesk?

My /etc/hosts looks like this:

Code:
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
 
Make sure that you have following line in /etc/hosts:

127.0.0.1 localhost.localdomain localhost
 
Back
Top