Article ID: 126581, created on Aug 17, 2015, last review on Aug 17, 2015

  • Applies to:
  • Plesk Automation 11.5

Symptoms

  1. Attempt to login to Horde webmail fails with error:

    Login Failed
    
  2. Following error occurs for in /var/log/psa-horde/psa-horde.log:

    015-04-22T14:23:55+00:00 ERR: HORDE [horde] FAILED LOGIN for jdoe@example.com (jdoe@example.com) [203.0.113.2] to Horde [pid 27700 on line 207 of "/usr/share/psa-horde/login.php"]
    

Cause

Horde webmail is configured to use SSLv23 for connection to IMAP server, but /etc/courier-imap/imapd-ssl uses TLS protocol by the default.

Resolution

  1. Check /etc/courier-imap/imapd-ssl file on Postfix Service node, with command:

    [root@mail ~]# cat /etc/courier-imap/imapd-ssl | grep TLS | grep -v '#'
    IMAPDSTARTTLS=YES
    IMAP_TLS_REQUIRED=0
    COURIERTLS=/usr/bin/couriertls
    TLS_PROTOCOL=SSL23
    TLS_STARTTLS_PROTOCOL=TLS1
    TLS_CERTFILE=/etc/postfix/postfix_default.pem
    TLS_VERIFYPEER=NONE
    TLS_CACHEFILE=/var/run/couriersslcache
    TLS_CACHESIZE=524288
    
  2. Comment TLS_STARTTLS_PROTOCOL=TLS1 string in /etc/courier-imap/imapd-ssl.

  3. Restart /etc/init.d/courier-imapd and /etc/init.d/courier-imaps services:

    [root@mail ~]# /etc/init.d/courier-imapd restart
    Stopping Courier IMAP server:                              [  OK  ]
    Starting Courier IMAP server:                              [  OK  ]
    [root@mail ~]# /etc/init.d/courier-imaps restart
    Stopping Courier IMAP server with SSL/TLS support:         [  OK  ]
    Starting Courier IMAP server with SSL/TLS support:         [  OK  ]
    

Search Words

TLS_STARTTLS_PROTOCOL

TLS_PROTOCOL

Horde

Postfix

mail

webmail login error

Horde login failed

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF