nixos/postfix: add missing setgid wrapper

This is basically an alias for a special case of postqueue, which
already has a setgid wrapper.  Would be silly to allow postqueue -p
but not mailq.
This commit is contained in:
Alyssa Ross 2019-11-13 15:25:35 +00:00
parent faa4b27923
commit 7813c249ef
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -631,6 +631,14 @@ in
setgid = true;
};
security.wrappers.mailq = {
program = "mailq";
source = "${pkgs.postfix}/bin/mailq";
group = setgidGroup;
setuid = false;
setgid = true;
};
security.wrappers.postqueue = {
program = "postqueue";
source = "${pkgs.postfix}/bin/postqueue";