Article ID: 119585, created on Jan 10, 2014, last review on Apr 10, 2016

  • Applies to:
  • Plesk Automation


  1. Unable to log in to the webmail with valid credentials:

    ERR Connection to IMAP server failed


    Connection to storage server failed.


    Error connecting to mail server
  2. Following error could be found in /var/log/plesk-roundcube/errors (in case of using roundcube webmail):

    [15-Apr-2014 16:03:23 +0500]: IMAP Error: Login failed for from X.X.X.X. Could not connect to php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_imap.php on line 184 (POST /?_task=login&_action=login)


To authenticate user Webmail client connects remotely to the mail server.

The error means that the DNS record cannot be resolved properly from the Webmail node (the Management node by default). For example, if the DNS record does not point to your mail server, you will not be able to login via webmail:

    # nslookup
    ** server can't find NXDOMAIN


    # nslookup

where is incorrect ip of mail server.


Make sure that resolves to the mail server IP address from the webmail node:

  1. Adjust DNS settings for the affected domain (Top > Services > DNS Zones > > DNS > DNS Records > change (or add is there is not) A record for ).

  2. As a temporary workaround, adjust the /etc/hosts file on the webmail node to fix the issue and then fix the DNS configuration:

    # cat /etc/hosts localhost.localdomain localhost

Search Words


mapi error

Connection to storage server failed

unable to open webmail after upgrade to 11.5

MessageError connecting to mail server.

Error connecting to mail server


webmail password

connection to storage server failed

roundcube premature end of script headers

error reset mailbox password

webmail doesn't resolve

webmail incorrect password

error connecting to mail server

POP/SMTP doesn't work

Not able to open webmail.domain.tld


404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF