From 01e63f4bab300ff849840740ae7624ecb8de4124 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Sun, 23 Mar 2025 13:27:09 +0100 Subject: [PATCH] mailsystem: dovecot: Use expanded variable names Starting with dovecot 2.4, short notations for variables are no longer accepted (see https://doc.dovecot.org/2.4.0/installation/upgrade/2.3-to-2.4.html#variable-expansion). --- mailsystem/dovecot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailsystem/dovecot.nix b/mailsystem/dovecot.nix index 7d65cde..5661111 100644 --- a/mailsystem/dovecot.nix +++ b/mailsystem/dovecot.nix @@ -233,7 +233,7 @@ in { userdb { driver = passwd-file args = ${userdbFile} - default_fields = uid=${builtins.toString cfg.vmailUID} gid=${builtins.toString cfg.vmailUID} home=${cfg.mailDirectory}/%d/%n + default_fields = uid=${builtins.toString cfg.vmailUID} gid=${builtins.toString cfg.vmailUID} home=${cfg.mailDirectory}/%{domain}/%{username} } service auth {