diff options
author | EuAndreh <eu@euandre.org> | 2023-03-17 16:39:23 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-17 16:39:23 -0300 |
commit | aff660119b04808479aa3a5b999d99a6f3877ee8 (patch) | |
tree | 8732b09f2af55a9b1d45a2f8c35d63190d94c6ba /src/org/euandre/queue.scm | |
parent | queue.scm: Add missing #$ ungexp to mail-directory (diff) | |
download | package-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.scm | 4 |
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) |