dovecot: Allow login using email address with dovecot version 2.4

- Users were able to login using email address during dovecot 2.3 on Bookworm.
It was incorrectly assumed that there were not able to do that. Hence the
feature was not ported to 2.4. Early upgraders have reported this issue.

Tests:

- Login using full email address in the User Name field in Thunderbird. Without
the patch, the login fails and with the patch, it succeeds.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2025-08-18 17:01:36 -07:00 committed by James Valleroy
parent fe7d478099
commit 8692bd20ee
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -7,4 +7,4 @@
# Outlook and Windows Mail work only with LOGIN mechanism, not the standard PLAIN
auth_mechanisms = plain login
auth_username_format = %{user | lower}
auth_username_format = %{user | username | lower}