SYMPTOMS
Webmail returns the error: "Login failed for some reason. Most likely your username or password was entered incorrectly." during login attempt.RESOLUTION
- First of all examine /var/log/psa-horde.log (/var/log/psa-horde/psa-horde.log since Plesk 8) and Apache log for errors. If you see "Segmentation fault" errors in Apache log and have more than 250 domains, check the article 260.
- This problem may occur if the domain's web content is hosted on another server and the MX DNS record doesn't exist or points not to the Plesk server. IMP tries to check mail on whatever server the domain name resolves to. In order to prevent this from happening the domain name or MX record (if it exists) must be resolved locally to the server.
- Also, you can run IMP test to check the problem at: http://webmail.DOMAIN.COM/horde/imp/test.php
- make sure that it is possible to connect to localhost:143 from the command line using telnet. If you get the error as below:
# telnet localhost 143localhost/143: Name or service not known
then check /etc/hosts file. It must have permissions -rw-r--r-- and contain the record for localhost in the following format:
127.0.0.1 localhost localhost.localdomain