From 75ef6a5872cb13bfab8d63f79c16bc4f6d6df807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 29 Nov 2023 14:47:55 +0100 Subject: [PATCH] Also set email on dovecot DB --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index 12b3c4233..579b6b21e 100644 --- a/src/app.py +++ b/src/app.py @@ -3267,7 +3267,7 @@ def regen_mail_app_user_config_for_dovecot_and_postfix(only=None): if dovecot: hashed_password = _hash_user_password(settings["mail_pwd"]) dovecot_passwd.append( - f"{app}:{hashed_password}::::::allow_nets=::1,127.0.0.1/24,local" + f"{app}:{hashed_password}::::::allow_nets=::1,127.0.0.1/24,local,mail={mail_user}@{mail_domain}" ) if postfix: mail_user = settings.get("mail_user", app)