aboutsummaryrefslogtreecommitdiff
path: root/src/org/euandre/queue.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-17 16:39:23 -0300
committerEuAndreh <eu@euandre.org>2023-03-17 16:39:23 -0300
commitaff660119b04808479aa3a5b999d99a6f3877ee8 (patch)
tree8732b09f2af55a9b1d45a2f8c35d63190d94c6ba /src/org/euandre/queue.scm
parentqueue.scm: Add missing #$ ungexp to mail-directory (diff)
downloadpackage-repository-aff660119b04808479aa3a5b999d99a6f3877ee8.tar.gz
package-repository-aff660119b04808479aa3a5b999d99a6f3877ee8.tar.xz
queue.scm: Add supplementary-groups to Postfix
Diffstat (limited to 'src/org/euandre/queue.scm')
-rw-r--r--src/org/euandre/queue.scm4
1 files changed, 3 insertions, 1 deletions
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 <postfix-configuration>
- (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)