Bobcares

Fixing email error “435 Unable to authenticate at present” in cPanel, DirectAdmin, Ajenti and other Exim servers

by | Jun 20, 2017

Bobcares.com provides outsourced hosting support to web hosts. As part of our services, we manage the tech support help desk of web hosts, and resolve issues posted by web hosting customers.

Many of our customers use Linux servers that run Exim as their mail server. Exim is usually present in web control panels such as Cpanel, DirectAdmin, Ajenti and more.

A common email error that we see in these servers is 435 Unable to authenticate at present. This is faced by email users when they try to send SMTP authenticated mail through the Exim server either through webmail (eg. Horde) or from an external mail service provider (Eg. Google’s Gmail).

What causes error 435 Unable to authenticate at present?

In short, this error happens when Exim is unable to check if the Username and Password given by the mail user is indeed correct.

It can happen due to:

  • Failure of service that provides authentication (eg. Dovecot)
  • Incorrect mailbox permissions
  • User exceeding mail limits
  • Incorrect SMTP Port settings at the email user’s client
  • Corrupted auth libraries
  • Disk quota issues

Let’s take a look at each of these issues one by one, and see how to fix it.

See how we help web hosting companies

Before we begin – a word of caution

Many server owners troubleshoot issues by trial and error. That is – Do X. Did it fix it? No? Then do Y.

It is not the best way to resolve issues, because:

  • It takes a lot of time to go through all possibilities.
  • A command executed without knowing the full impact of it could result in other services failing.
  • In case something does go wrong, it’s hard to recover from it without knowing what changes the command made.
  • Your server could have custom settings that can conflict with standard commands.

That is why we always recommend our customers to not make changes directly on the server, and instead escalate it to our 24/7 support team.

Our team uses an evidence based approach to solve issues. We look at logs, trace the sequence of events, and then find out exactly where the link is broken. It helps us solve issues faster, and prevent errors.

With that said, let’s now look at the top fixes for this error.

 

1. Quick fix – Restart POP/IMAP service

In some servers we’ve observed the POP/IMAP service failing to authenticate because of temporary data write issues.

So, a quick fix is to check if the database services are running OK, if the /tmp directory is clear, the disk health is OK, and then restart the POP/IMAP service.

In cPanel servers, this service is DoveCot.

 

2. Fix mail box permissions

When a login request is sent to POP/IMAP service, the server checks whether the mail directory is in fact accessible. If it is not, the IMAP server gives a fail signal to Exim, and this error will be shown.

So, if this account was recently migrated in, or was un-suspended, or any other recent changes were made, it’ll be a good idea to repair the mailbox permissions.

In cPanel servers, this can be done by:

  1. Login to WHM
  2. Locate the Email section in the left-side panel
  3. Select Repair Mailbox permissions
  4. Click Proceed.
435 Unable to authenticate at present code(435) repair mailbox

Repair mailbox in WHM

3. Check mail limits

Many control panels allow mail limits to be set for each user. If the user has exceeded that limit for the time period (some times due to spamming via his account), no more mails can be sent.

So, look for the mail stats to see if this quota is exceeded.

 

4. Incorrect SMTP port

Many mail services (such as Google’s Gmail) does not allow outbound connections via port 25.

So, ask the customer if he has set the SMTP port as 25, and if so, to change it to port 587 or 465.

You don’t have to lose your sleep to keep your customers happy. Our friendly Hosting Support Specialists are online 24/7/365 to help your customers. ]

 

5. Corrupted authentication libraries

Exim and Dovecot depends on underlying system libraries to perform authentication functions.

In some servers which was recently upgraded, or otherwise a major change was performed, the libraries are likely to be corrupt.

To fix this, Exim should be re-installed.

In DirectAdmin servers, it can be done using CustomBuild, and in cPanel servers, this can be done with:

# /scripts/eximup –-force

IMPORTANT : This will remove all your customized settings, and could fail if you’ve protected your config file. Get expert assistance if you’re not sure.

 

6. Disk quota issues

In VPSs the disk space or inode limit could get exceeded causing temporary files and database writes to fail. This in turn results in a failed authentication.

So, if the server is prone to such issues, it’s a good idea to check that as well.

 

To conclude

435 Unable to authenticate at present” is a common error in Exim servers. It happens when Exim is unable to authenticate an SMTP user. Today we’ve seen a few common reasons why this could happen. There could be more.

If you need assistance in fixing this error, we’d be glad to help. Click on this link to talk to our experts.

 

 

BOOST YOUR HOSTING BUSINESS!

Never again lose customers to poor service! Sign Up once. Enjoy Peace Of Mind For Ever!

CLICK HERE FOR WORLD-CLASS SUPPORT SERVICES

var google_conversion_label = "zWG9CLOojHIQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF