From aff660119b04808479aa3a5b999d99a6f3877ee8 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 17 Mar 2023 16:39:23 -0300 Subject: queue.scm: Add supplementary-groups to Postfix --- src/org/euandre/queue.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/org/euandre/queue.scm b/src/org/euandre/queue.scm index 95b640a..857bbff 100644 --- a/src/org/euandre/queue.scm +++ b/src/org/euandre/queue.scm @@ -888,6 +888,7 @@ By default, the daemon runs in a container."))) (queue-directory postfix-configuration-queue-directory (default "/var/spool/postfix")) (user postfix-configuration-user (default "postfix")) (group postfix-configuration-group (default "postfix")) + (supplementary-groups postfix-configuration-supplementary-groups (default '())) (setgid-group postfix-configuration-setgid-group (default "postdrop")) (root-aliases postfix-configuration-root-aliases (default '("abuse" "admin" "hostmaster" "postmaster"))) (cert-file postfix-configuration-cert-file (default #f)) @@ -1083,11 +1084,12 @@ header_checks = regexp:{ { /^Received:.*/ IGNORE }, { /^X-Originating-IP:.*/ IGN (define (postfix-accounts config) (match-record config - (user group setgid-group) + (user group supplementary-groups setgid-group) (list (user-account (name user) (group group) + (supplementary-groups supplementary-groups) (comment "Postfix system user") (home-directory "/var/empty") (create-home-directory? #f) -- cgit v1.2.3