• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Input Please vote for a feature to solve this for good: Email login fails with "failed auth" despite correct password from some Android, iPhone, Outlook

Bitpalast

Plesk addicted!
Plesk Guru
Problem description:
For many years and across a five digit large number of domains and customers we've seen some customers failing logins from their smartphones and sometimes from MS Outlook and Apple Mail. For many users it was a pain to configure their phones correctly. On Samsung's Android Mail App for example, users configured their accounts and were able to log in, receive and send emails, yet the server logged a second auth attempt that failed. These failed attempts triggered Fail2Ban blocks of the customers' IP addresses, although the customers had entered their access credentials correctly. Users however sometimes cannot choose the auth mechanism, e.g. on Android Mail.

Similar issues have been described in these Plesk FAQ articles:
and
But it was not clear to us whether the suggested change to remove "digest-md5" from Dovecot will
a) really solve the issue, including a solution for Android and Apple Mail where customers cannot choose an auth mechanism on their own
b) not cause new issues with existing customer configurations
Recently we went through significant testing efforts on several servers with a very high number of domains and email users that can be considered representative.

Solution:
Among all ranging from Thunderbird, Outlook, Android Mail, Apple Mail, iPhone Mail we found that the only viable solution to the "failed auth" issue caused by DIGEST-MD5 password mechanism is to remove the "digest-md5" entry from Dovecot as mentioned in the FAQs.

I am personally convinced due to the number of affected domains and customers here across many servers this is a major change that could bring a big benefit to all Plesk users. It will save hundreds of thousands of server admins headaches.

A user named "Bob B" had posted this feature request on Uservoice a couple of months ago:

This is a very important request. Even if you might not have run into the issue yet or might not have noticed that there is an issue on your system, this is the thing to vote for now.

Please vote for this feature suggestion. It will make your admin life easier in the future for sure.
 
I'd like to have a toggle for that.

But just a heads up for all that vote on this feature - the removing of digest-md5 on running systems will break many existing account configurations in certain Outlook versions, Mac Mail and other programs and affected customers will need to re-setup their accounts.

This is due to the fact, that these programs "discover" the availability of digest-md5 on account creating and will then always use it from that moment on.
They do not rediscover it again when it's switched of on the server and this will then lead to failed login attempts.
 
the removing of digest-md5 on running systems will break many existing account configurations in certain Outlook versions, Mac Mail and other programs and affected customers will need to re-setup their accounts.
This is indeed something that the FAQ mentions, but it's not the whole truth. For MS Outlook for example, this is only true if the "SPA" checkbox was checked, meaning that a user has requested password encryption before.

I do understand the need to keep existing systems in place, but the feature suggestion is meant to remove digest-md5 from new default installations. So in these cases customer email clients won't set-up digest-md5 because the server won't offer it in the first place.
 
Back
Top