On 10/11/2025 16:04 EET Helmut K. C. Tessarek via dovecot <dovecot@dovecot.org> wrote:
On 2025-11-10 06:58, Aki Tuomi via dovecot wrote:
Try adding to the passwd-file
default_password_scheme = crypt
Thanks, this worked, even though I have no idea why.
The documentation states:
https://doc.dovecot.org/2.4.2/core/config/auth/schemes.html#crypt Traditional DES-crypted password
Also the very next line in the very same documentation says:
Dovecot uses libc's crypt() function, which means that CRYPT is usually able to recognize MD5-CRYPT and possibly also other password schemes. See all of the *-CRYPT schemes at the top of this page.
Somehow the documentation is very confusing. And why for the love of security is PLAIN the default? Nobody in their right mind chooses to store passwords in clear text.
Actually the default for passwd-file is CRYPT.
passdb_passwd_file { passdb_default_password_scheme = CRYPT }
but not sure why it's not working correctly, so this is a bug.
Aki