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.
This commit is contained in:
Martin Weinelt
2026-03-26 12:50:00 +01:00
parent 0da8e2b197
commit f1e4af7184
+1
View File
@@ -295,6 +295,7 @@ in
mode = "0600"; mode = "0600";
user = config.services.postfix.user; user = config.services.postfix.user;
}; };
user = cfg.storage.owner;
vsz_limit = "${toString cfg.lmtpMemoryLimit} MB"; vsz_limit = "${toString cfg.lmtpMemoryLimit} MB";
}; };
"service quota-status" = mkIf cfg.quota.enable { "service quota-status" = mkIf cfg.quota.enable {