- Plesk 11.x for Linux
- Plesk 12.0 for Linux
- Plesk 12.5 for Linux
Horde webmail does not accept valid login credentials:
PLESK_INFO: Error: Login failed.
IMAP login via telnet works fine:
# telnet localhost 143
[CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=PLAIN IDLE STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information.
01 login email@example.com
01 OK LOGIN Ok.
With Horde debug log enabled and Courier-IMAP debug logs no errors can be found.
- The issue is caused by IMAP SSL misconfiguration, for example incorrect path to SSL certificate in
/etc/courier-imap/imapd-sslconfiguration file is mentioned.
- Incorrect permissions for certificate.
Connect to the server via SSH.
/etc/courier-imap/imapd-sslfile, make sure that valid path to the certificate is set:
# grep TLS_CERTFILE /etc/courier-imap/imapd-ssl
# ls -la /usr/share/imapd.pem
-r-------- 1 root root 3046 Sep 25 02:12 /usr/share/imapd.pem
TLS_CERTFILEdirective has value
certificate.pemthen make sure that for every IP address "aaa.bbb.ccc.ddd" where courier-imap is listening and serving clients (including 'localhost') there exists a certificate file named
$TLS_CERTFILE.aaa.bbb.ccc.ddd. For example,
/usr/share/certificate.pem.127.0.0.1, etc for each IP address:
# ls -la /usr/share/certificate.pem*
Check permissions and owners for certificates in
/usr/local/psa/var/certificates/folder, they should be like:
# ll /usr/local/psa/var/certificates/
-r-------- 1 root root 3048 Aug 7 05:59 cert-jBqqCd