Article ID: 129359, created on Aug 31, 2016, last review on Aug 31, 2016

  • Applies to:
  • Operations Automation

Symptoms

Customers can not login to Horde webmail. Error Login failed because your username or password was entered incorrectly is shown and the login form is greyed out. The following error can be found on the Horde server in /usr/local/pem/sysvhosts/webmail/horde.log:

Feb 10 04:50:29 HORDE [error] [imp] FAILED LOGIN for user@domain.tld [xxx.xxx.xxx.xxx] (forwarded for [yyy.yyy.yyy.yyy]) to {mxse.somedomain.com:143 [imap/notls]} [pid 806 on line 139 of "/usr/local/pem/sysvhosts/webmail/webmail/496/imp/lib/Auth/imp.php"]

Cause

Possible reasons:

  1. If the issue is in a lab environment, it might be possible that webmail server is not able to resolve the mailserver hostname.
  2. SMTP server mxse.somedomain.com:143 record for the domain is incorrect. It is defined based on the MX record for the domain, but OA customers are supposed to be using the provider's Qmail server. According to the information in OA mailbox settings the SMTP server should be smtp.providersdomain.com.

    In the webmail package properties for the Horde server in OA there are two settings that manage this behavior:

    Splitting login name into 'login' and 'domain' parts (false/true)   
    true
    imp.dns_resolve
    
    Use SMTP and IMAP servers submitted by POA during autologin to webmail (true/false) 
    false
    imp.trust_form_data
    

    On Horde server itself this configuration is stored in IMP configuration file /usr/local/pem/sysvhosts/webmail/<IMP_instance_ID>/imp/config/conf.php

    $conf['server']['dns_resolve'] = true;
    
    /**
    * If this option is set to true, server and smtphost will be taken
    * from data submitted to imp/redirect.php
    * This option, if set to true, has precedence over dns_resolve.
    */
    $conf['server']['trust_form_data'] = false;
    

Resolution

  1. If the webmail server is not able to resolve the mailserver, map the IP address of the mailserver in /etc/hosts file on the webmail server and repeat the login attempt.

  2. Change parameters in /usr/local/pem/sysvhosts/webmail/<IMP_instance_ID>/imp/config/conf.php on the Horde server to:

    $conf['server']['dns_resolve'] = false;
    

    and

    $conf['server']['trust_form_data'] = true;
    

    So that OA will post information on which SMTP server should be used to the webmail. Restart pemhttpd service on the Horde server to apply the changes.

Search Words

trust_form_data

dns_resolve

Use SMTP and IMAP servers submitted by POA during autologin to webmail

Service Unavailable

webmail page is disabled for security reasons

Login failed because your username or password was entered incorrectly

this page was disabled

webmail horde can not login

unable to log into horde

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF