Article ID: 112510, created on Oct 12, 2011, last review on Mar 31, 2016

  • Applies to:
  • Operations Automation 5.5
  • Operations Automation 5.4
  • Plesk 10.4 for Linux/Unix


Login to Horde webmail takes an unreasonably long time (up to 10 seconds or more) when the IP address from which the login attempt is made cannot be resolved into the fully qualified domain name.


During the authentication sequence, Horde webmail is trying to resolve the IP address from which the login attempt is made. In case a reverse resolution record for the IP address is not set, the query fails due to an internal timeout which is noticeable.


Ensure that the correct IP of DNS server is specified in /etc/resolv.conf on webmail node.


Disable reverse resolution attempts made by Horde webmail during authentication attempts:

  1. Login to the Horde webmail host and locate the file Auth.php:

    ~# find /usr/local/pem/sysvhosts/ -name Auth.php
  2. Make a backup copy of the Auth.php file:

    ~# cp Auth.php Auth.php.orig
  3. Alter the following code line in the Auth.php file:

    function setAuth($userId, $credentials, $realm = null, $changeRequested = false)
            $last_login = array('time' => time(),
                                'host' => @gethostbyaddr($host));

    This part should look like:

    function setAuth($userId, $credentials, $realm = null, $changeRequested = false)
        $last_login = array('time' => time(),
                            'host' => $host);

Search Words

cannot open webmail

Failed checking prefs for

DB Error: no database selected

5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e caea8340e2d186a540518d08602aa065 5b048d9bddf8048a00aba7e0bdadef37 614fd0b754f34d5efe9627f2057b8642 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 e8756e9388aeca36710ac39e739b2b37 dd0611b6086474193d9bf78e2b293040 ac82ce33439a9c1feec4ff4f2f638899

Email subscription for changes to this article
Save as PDF