From 8692bd20ee38d259db220f258f6864133a93aa62 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 18 Aug 2025 17:01:36 -0700 Subject: [PATCH] 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 Reviewed-by: James Valleroy --- .../freedombox/etc/dovecot/conf.d/2.4/15-freedombox-auth.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/email/data/usr/share/freedombox/etc/dovecot/conf.d/2.4/15-freedombox-auth.conf b/plinth/modules/email/data/usr/share/freedombox/etc/dovecot/conf.d/2.4/15-freedombox-auth.conf index 655de1de6..d81b6ac9c 100644 --- a/plinth/modules/email/data/usr/share/freedombox/etc/dovecot/conf.d/2.4/15-freedombox-auth.conf +++ b/plinth/modules/email/data/usr/share/freedombox/etc/dovecot/conf.d/2.4/15-freedombox-auth.conf @@ -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}