From f1e4af7184f6e0d25fbe4aeac6a079b560f6b73e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 26 Mar 2026 12:50:00 +0100 Subject: [PATCH] dovecot: run lmtp service under storage owner user Previously it ran as root, which is not required since we use a single uid/gid for all mail storage. --- mail-server/dovecot.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix index 59d9664..94682fa 100644 --- a/mail-server/dovecot.nix +++ b/mail-server/dovecot.nix @@ -295,6 +295,7 @@ in mode = "0600"; user = config.services.postfix.user; }; + user = cfg.storage.owner; vsz_limit = "${toString cfg.lmtpMemoryLimit} MB"; }; "service quota-status" = mkIf cfg.quota.enable {