{"id":722,"date":"2012-08-06T04:30:11","date_gmt":"2012-08-06T10:30:11","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=722"},"modified":"2026-06-19T02:52:40","modified_gmt":"2026-06-19T08:52:40","slug":"hordesquirrel-mail","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/hordesquirrel-mail\/","title":{"rendered":"How to Fix Horde\/Squirrel Mail Login Failed Error ?"},"content":{"rendered":"\n<p>Webmail applications such as Horde and SquirrelMail are commonly used in hosting environments to access email accounts through a browser. Sometimes, users may encounter the following error while trying to log in:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Error: Login failed because your username or password was entered incorrectly.<\/code><\/pre>\n\n\n\n<p>Even when the correct login credentials are used, this issue may still occur due to server configuration problems or incorrect domain settings.<\/p>\n\n\n\n<p>In this blog, we\u2019ll explain the common causes of the <strong>Horde\/Squirrel Mail<\/strong> login issue and how to fix it easily on a cPanel server.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">What is Horde\/Squirrel Mail?<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">Horde Webmail<\/h2>\n\n\n\n<p>Horde is a feature-rich webmail application included with cPanel hosting. It provides:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Email access through a browser<\/li>\n\n\n\n<li>Contact management<\/li>\n\n\n\n<li>Calendar support<\/li>\n\n\n\n<li>Task and note management<\/li>\n<\/ul>\n\n\n\n<p>Horde is widely used because of its advanced collaboration features.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SquirrelMail<\/h2>\n\n\n\n<p>SquirrelMail is a lightweight webmail client written in PHP. It offers:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Simple user interface<\/li>\n\n\n\n<li>Fast performance<\/li>\n\n\n\n<li>Browser-based email access<\/li>\n\n\n\n<li>IMAP and SMTP support<\/li>\n<\/ul>\n\n\n\n<p>Although older than Horde, SquirrelMail is still used on some servers because of its simplicity.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Common Cause of the Login Failed Error<\/h1>\n\n\n\n<p>The error usually occurs because:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The server hostname is not configured correctly<\/li>\n\n\n\n<li>DNS records are missing<\/li>\n\n\n\n<li><code>\/etc\/userdomains<\/code> contains incorrect entries<\/li>\n\n\n\n<li>Domain mappings are outdated<\/li>\n\n\n\n<li>The local domain configuration is incomplete<\/li>\n<\/ul>\n\n\n\n<p>When Horde or SquirrelMail cannot properly verify domain ownership or locate the correct mail domain, authentication may fail.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">How to Fix Horde\/Squirrel Mail Login Failed Error<\/h1>\n\n\n\n<p>Follow the steps below carefully to resolve the issue.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Set a Valid FQDN Hostname<\/h2>\n\n\n\n<p>Ensure your server has a Fully Qualified Domain Name (FQDN).<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server.abc.com<\/code><\/pre>\n\n\n\n<p>The hostname should:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Resolve properly<\/li>\n\n\n\n<li>Have a valid DNS A record<\/li>\n\n\n\n<li>Point to the server IP address<\/li>\n<\/ul>\n\n\n\n<p>You can verify the hostname using:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostname<\/code><\/pre>\n\n\n\n<p>You can also check DNS resolution using:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ping server.abc.com<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Backup the \/etc\/userdomains File<\/h2>\n\n\n\n<p>Before making any changes, create a backup of the existing file.<\/p>\n\n\n\n<p>Run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cp -p \/etc\/userdomains \/etc\/userdomains.backup<\/code><\/pre>\n\n\n\n<p>This allows you to restore the original configuration if needed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Remove the Existing \/etc\/userdomains File<\/h2>\n\n\n\n<p>Delete the current file using:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rm -f \/etc\/userdomains<\/code><\/pre>\n\n\n\n<p>This removes outdated or corrupted domain mappings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Rebuild User Domain Mappings<\/h2>\n\n\n\n<p>Now regenerate the domain configuration using one of the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/scripts\/updateuserdomains<\/code><\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/cpanel\/scripts\/updateuserdomains --force<\/code><\/pre>\n\n\n\n<p>This rebuilds the user domain database and updates the mappings properly.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Verify the Local Domains Configuration<\/h1>\n\n\n\n<p>After rebuilding the configuration, check the contents of:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/localdomains<\/code><\/pre>\n\n\n\n<p>Make sure it includes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server.abc.com<br>abc.com<\/code><\/pre>\n\n\n\n<p>If these entries are missing, mail routing problems may continue.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Restart Mail Services<\/h1>\n\n\n\n<p>After making the changes, restart the mail-related services to apply the updates.<\/p>\n\n\n\n<p>You can restart Exim and Dovecot using:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>service exim restart<br>service dovecot restart<\/code><\/pre>\n\n\n\n<p>Or on newer systems:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart exim<br>systemctl restart dovecot<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">Additional Troubleshooting Tips<\/h1>\n\n\n\n<p>If the issue still persists, check the following:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verify DNS Records<\/h2>\n\n\n\n<p>Ensure:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The hostname resolves correctly<\/li>\n\n\n\n<li>MX records are properly configured<\/li>\n\n\n\n<li>The domain points to the correct server IP<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Check Mail Account Credentials<\/h2>\n\n\n\n<p>Confirm that:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The email account exists<\/li>\n\n\n\n<li>The password is correct<\/li>\n\n\n\n<li>Disk quota is not exceeded<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Review cPanel Logs<\/h2>\n\n\n\n<p>Useful log files include:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/var\/log\/exim_mainlog<br>\/usr\/local\/cpanel\/logs\/error_log<\/code><\/pre>\n\n\n\n<p>These logs may reveal authentication or configuration issues.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Why Proper Hostname Configuration Matters<\/h1>\n\n\n\n<p>A properly configured hostname is important for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mail authentication<\/li>\n\n\n\n<li>SSL certificate validation<\/li>\n\n\n\n<li>Reverse DNS<\/li>\n\n\n\n<li>Server reputation<\/li>\n\n\n\n<li>Spam prevention<\/li>\n<\/ul>\n\n\n\n<p>Improper hostname configuration can affect multiple server services beyond Horde and SquirrelMail.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Conclusion<\/h1>\n\n\n\n<p>The <strong>Horde\/Squirrel Mail<\/strong> login failed error is commonly caused by incorrect hostname settings or outdated domain mappings on the server.<\/p>\n\n\n\n<p>By:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Setting a proper FQDN hostname<\/li>\n\n\n\n<li>Rebuilding <code>\/etc\/userdomains<\/code><\/li>\n\n\n\n<li>Verifying <code>\/etc\/localdomains<\/code><\/li>\n\n\n\n<li>Restarting mail services<\/li>\n<\/ul>\n\n\n\n<p>you can quickly resolve the issue and restore webmail access.<\/p>\n\n\n\n<p>Proper DNS and mail server configuration also help improve server stability, email deliverability, and overall hosting performance.<\/p>\n\n\n\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n\n\n\n<p class=\"has-text-align-center\"><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><a href=\"https:\/\/www.supportpro.com\/freecheckup.php\"><\/a><\/span><\/span><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center has-white-background-color has-background\"><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\">Facing issues? <\/p>\n\n\n\n<p class=\"has-large-font-size\">Our technical support<br>engineers can solve it. <\/p>\n\n\n\n<!--HubSpot Call-to-Action Code --><span class=\"hs-cta-wrapper\" id=\"hs-cta-wrapper-3350a795-db50-482f-9911-301930d1b1be\"><span class=\"hs-cta-node hs-cta-3350a795-db50-482f-9911-301930d1b1be\" id=\"hs-cta-3350a795-db50-482f-9911-301930d1b1be\"><!--[if lte IE 8]><div id=\"hs-cta-ie-element\"><\/div><![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/3350a795-db50-482f-9911-301930d1b1be\" ><img class=\"hs-cta-img\" id=\"hs-cta-img-3350a795-db50-482f-9911-301930d1b1be\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/3350a795-db50-482f-9911-301930d1b1be.png\"  alt=\"Contact Us today!\"\/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '3350a795-db50-482f-9911-301930d1b1be', {\"useNewLoader\":\"true\",\"region\":\"na1\"}); <\/script><\/span><!-- end HubSpot Call-to-Action Code -->\n<\/div><figure class=\"wp-block-media-text__media\"><img width=\"904\" height=\"931\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png\" alt=\"guy server checkup\" class=\"wp-image-12943 size-full\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png 904w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-291x300.png 291w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-768x791.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-585x602.png 585w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/figure><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Webmail applications such as Horde and SquirrelMail are commonly used in hosting environments to access email accounts through a browser. Sometimes, users may encounter the following error while trying to&hellip;<\/p>\n","protected":false},"author":4,"featured_media":17243,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/722"}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=722"}],"version-history":[{"count":5,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/722\/revisions"}],"predecessor-version":[{"id":17244,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/722\/revisions\/17244"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media\/17243"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}