25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

Need help?

Our experts have had an average response time of 11.43 minutes in March 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

“dovecot imap-login aborted login” error – Top 5 causes and solutions

by | Jan 24, 2019

Being unable to send emails can have a negative effect on your business.

You want to send an important business email, but it end up in an error. Quite frustrating, right?

And, one such error often received by website owners is “dovecot imap-login aborted login“.

At Bobcares, we help our website owners resolve these common email errors as part of our Dedicated Support Services for web hosts.

Today, we’ll discuss the top 5 reasons for this error and how we fix them.

 

“dovecot imap-login aborted login” error – Causes and Fixes

Customers usually get this error when they attempt to access the email account from their email client or webmail. The complete error message looks like this.

dovecot: imap-login: Aborted login (auth failed, 1 attempts in 3 secs): user=xxxx, method=LOGIN, rip=xx.xx.xx.xx, lip=xx.xx.xx.xx, TLS, session=

 

Now let’s see the main reasons for this error and how our Dedicated Support Engineers fix them.

 

1) Firewall restrictions

One of the common reasons for this error is firewall blocking connections from an IP address or an IP range. We’ve seen cases where the IP address of the customer was blocked for abnormal activities.

Similarly, the default IMAP port is 143. And, if this port is not opened in the server firewall, customers will receive this error.

Here, our Support Engineers ensure that the IP address of the customer is not blocked on the server. Fox example, we use the following command to verify the rules in iptables.

iptables -nL

 

And, if we find that the IP is blocked, we’ll immediately unblock the IP address and finally identify the reason for the block. In addition to that, we use the telnet command to check the IMAP port connectivity.

telnet xx.xx.xx.xx 143

 

And, if there are connectivity problems, we’ll remove the hampering firewall rule. Moreover, we modify the firewall settings to accept valid connections on port 143.

[Need help in configuring the firewall rules on your server? One of our experienced Server Administrators can help you here.]

 

2) Wrong username/password

Similarly, another common reason is that users use incorrect username or password in their email clients to access emails. A typo in the username or password can lead to this error. Also, we’ve seen cases where customers miss to provide complete email account name(user@domain.com) in the email client. This can also block the email connection.

Our Support Experts get the login details from the customer and try to login to the email account via webmail. So, we can confirm whether the provided credentials are correct or not. If we find a typo in the username or password, we’ll correct it immediately.

 

3) Incorrect password encryption type

Another possible reason for this error is the encryption method set in the server. Most web hosts enable password encryption on the servers. For example, web hosts enable password encryption in Dovecot configuration file /etc/dovecot/conf.d/10-auth.conf like this.

disable_plaintext_auth = yes

 

So, if password encryption is enabled on the server, but users use incorrect encryption methods like PLAIN text to pass passwords, Dovecot will abort the login and throws this error.

In this case, our Support Experts check the encryption type set on the server. After that, we check the encryption type used in the email client. If customer uses no encryption, we help them set the email client to use encrypted login.

[Need help in finding out the Encryption set on your mail server. Click here, one of our Experts will check this for you.]

4) Connection type

Similarly, some email servers only permit emails via secure IMAP port 993. If users fail to use secure connection on their email client, they will be blocked from accessing emails.

So, our Support Engineers help users navigate and select the correct connection encryption type like SSL or TLS. Modern mail servers and email clients such as Thunderbird support STARTTLS  to upgrade unencrypted connections to encrypted ones, so that connections on the IMAP port 143 get automatically encrypted.

 

5) Mail server configuration issues

Similarly in Postfix servers, misconfiguration in the mail server settings can sometimes lead to this error. We were recently contacted by a customer that he received “dovecot imap-login aborted login” error in his email client.

When we checked, the following entries were missing in the Postifx configuration file /etc/postfix/main.cf.

virtual_mailbox_domains = your.domain.here
virtual_transport = dovecot

 

We added proper entries in this file to fix the problem. In addition to that, we ensure that the entire configuration in the file /etc/postfix/master.cf are correct.

However, always make sure to take a backup of the mail server configuration before making any changes.

[Messed up Mail configuration? One of our Server Admins can help you here.]

Conclusion

In short, “dovecot imap-login aborted login” error can occur due to wrong encryption method used in the email client, wrong username/password, etc. Today, we’ve discussed the top 5 reasons for this error and how our Dedicated Support Engineers fix them.

PREVENT YOUR SERVER FROM CRASHING!

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

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

SEE SERVER ADMIN PLANS

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

2 Comments

  1. Some 1

    After almost two wasted hours I came across this page, and bingo! –> 3) Incorrect password encryption type 🤦 Thank you very much for sharing!

    Reply
    • Hiba Razak

      Hi,
      Thanks for the feedback. We are glad to know that our article helps you solves the issue 🙂 .

      Reply

Submit a Comment

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

Categories

Tags

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

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

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