Announcement

Collapse
No announcement yet.

Plesk Horde: Login failed because your username or password was entered incorrectly.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plesk Horde: Login failed because your username or password was entered incorrectly.

    Sometimes, The following error appears when trying to log in to webmail:

    ===============
    Login failed because your username or password was entered incorrectly.
    ===============

    Resolution :

    First examine the logs :

    [server#] tail -f /var/log/psa-horde/psa-horde.log
    ==============
    Sep 19 04:08:37 HORDE [error] [imp] FAILED LOGIN for [email protected] [xx.xx.xx.xxx] to {localhost:143 [imap/notls]} [pid 3802 on line 139 of "/usr/share/psa-horde/imp/lib/Auth/imp.php"]
    ==============

    Then try to local connectivity for IMAP :

    =================
    [server#] telnet localhost 143
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
    01 login [email protected] <password>
    01 NO PLAIN text authentication does not support

    =================

    If its showing the error as above then enable plain text authentication by editing /etc/courier-imap/imapd:
    Add the AUTH=PLAIN parameter to the values of the IMAP_CAPABILITY variable and restart the IMAP service.

    [server#] /etc/init.d/courier-imap restart

    OR

    If you received output for local connections as :
    =================
    [server#] telnet localhost 143
    localhost/143: Name or service not known
    =================
    Then, do the check the /etc/hosts file. It must be contain contain the record for localhost in the following format:

    127.0.0.1 localhost.localdomain localhost

    And the permissions of /etc/hosts should be 644.


    That's it. It will resolve the issue. Now simply verify by trying to login in Horde.


  • #2
    Great Work Alec,

    Thanks for providing the detailed steps.
    "I am matter, and you are matter, but it doesn't matter."

    Comment

    Working...
    X