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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user