{"id":17427,"date":"2026-03-10T16:40:03","date_gmt":"2026-03-10T11:10:03","guid":{"rendered":"https:\/\/www.skynats.com\/blog\/?p=17427"},"modified":"2026-03-10T17:10:58","modified_gmt":"2026-03-10T11:40:58","slug":"how-to-troubleshoot-exim-error-535-incorrect-authentication-data","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/how-to-troubleshoot-exim-error-535-incorrect-authentication-data\/","title":{"rendered":"How to Troubleshoot Exim Error 535: Incorrect Authentication Data"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Email issues are common on servers running Exim with cPanel\/WHM. One frequently reported problem is the Exim error 535 authentication failed, also shown as \u201c535 Incorrect authentication data.\u201d This error usually appears when users try to send or receive emails and authentication fails. The error can occur due to incorrect login credentials, misconfigured mail clients, or authentication problems with services like Dovecot. Understanding how to diagnose and troubleshoot this issue can help administrators quickly restore normal email functionality.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-prerequisites\"><strong>Prerequisites<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before troubleshooting the error, ensure you have the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Root or administrative access to the server<br><\/li>\n\n\n\n<li>SSH access to the server<br><\/li>\n\n\n\n<li>Knowledge of cPanel\/WHM configuration<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These requirements help you analyze logs and modify server configurations if needed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\"><strong>What is Exim Error 535?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Exim error 535 Incorrect authentication data typically occurs when a mail client fails to authenticate with the mail server. The error may appear in the Exim log similar to the following example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fixed_login authenticator failed for (ispip.net) (&#91;XX.XX.XX.XX]) &#91;YY.YY.YY.YY]: 535 Incorrect authentication data (set_id=user@domain.com)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This issue is most commonly caused by incorrect email login credentials. If the username or password is wrong, the server rejects the authentication request.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, if the credentials are correct and the problem persists, further debugging may be required using <a href=\"https:\/\/dovecot.org\/\" type=\"link\" id=\"https:\/\/dovecot.org\/\" target=\"_blank\" rel=\"noopener\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">Dovecot<\/mark><\/a> authentication logs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\"><strong>Steps to Troubleshoot Exim Error 535<\/strong><\/h2>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\"><strong>Step 1: Verify Email Credentials<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The first step is to confirm that the email username and password are correct.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Check the email account credentials in cPanel.<br><\/li>\n\n\n\n<li>Update the password if necessary.<br><\/li>\n\n\n\n<li>Ensure the mail client uses the full email address as the username.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Incorrect login details are the most common reason for the 535 authentication error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\"><strong>Step 2: Check Exim and Mail Logs<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Next, review the server logs to identify authentication failures.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Common log locations include:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/var\/log\/exim_mainlog\n\/var\/log\/maillog<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Look for entries that mention \u201cauthenticator failed\u201d or \u201c535 Incorrect authentication data.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These logs help identify which account or IP address is failing authentication.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\"><strong>Step 3: Enable Dovecot Debug Logging<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the cause is still unclear, enable Dovecot debug logs to obtain more detailed authentication information.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to the server via SSH as <strong>root<\/strong>.<br><\/li>\n\n\n\n<li>Open the Dovecot configuration file:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/dovecot\/dovecot.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3. Enable the following debug settings:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>auth_verbose = yes\nauth_verbose_passwords = no\nauth_debug = yes\nauth_debug_passwords = yes\nmail_debug = yes\nverbose_ssl = yes<\/code><\/pre>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Save the configuration file.<br><\/li>\n\n\n\n<li>Restart the Dovecot service:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>\/scripts\/restartsrv_dovecot<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After enabling debugging, authentication issues will appear in \/var\/log\/maillog, helping you identify password mismatches or configuration problems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\"><strong>Step 4: Test Email Authentication<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Try sending a test email using the affected account.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Confirm that authentication works with updated credentials.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Monitor the logs again for any remaining errors.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If authentication succeeds, the issue is resolved.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-conclusion\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Exim 535 Incorrect authentication data error mainly occurs due to invalid email login credentials or authentication failures. By following the steps mentioned in the blog, system administrators can quickly identify the root cause and restore email functionality on a cPanel server. Proper log analysis and debugging tools like Dovecot debug mode are essential for resolving persistent authentication issues.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019re struggling with Exim error 535 authentication failed, don\u2019t stress\u2014our experts are here to help. With our <a href=\"https:\/\/www.skynats.com\/hourly-server-support-services\" type=\"link\" id=\"https:\/\/www.skynats.com\/hourly-server-support-services\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">Hourly Server Support Services<\/mark><\/a> and comprehensive <a href=\"https:\/\/www.skynats.com\/server-management\" type=\"link\" id=\"https:\/\/www.skynats.com\/server-management\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">server management services<\/mark><\/a>, we can quickly troubleshoot and resolve your mail server issues. <a href=\"https:\/\/www.skynats.com\/contact-us\" type=\"link\" id=\"https:\/\/www.skynats.com\/contact-us\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">Contact us <\/mark><\/a>today to get your server running smoothly!<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Email issues are common on servers running Exim with cPanel\/WHM. One frequently reported problem is the Exim error 535 authentication failed, also shown as \u201c535 Incorrect authentication data.\u201d This error usually appears when users try to send or receive emails and authentication fails. The error can occur due to incorrect login credentials, misconfigured mail clients, [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1259,1260,1258],"class_list":["post-17427","post","type-post","status-publish","format-standard","hentry","category-blog","tag-exim-error-535","tag-hourly-server-support","tag-troubleshoot-exim"],"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/17427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=17427"}],"version-history":[{"count":3,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/17427\/revisions"}],"predecessor-version":[{"id":17431,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/17427\/revisions\/17431"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=17427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=17427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=17427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}