mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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:
parent
faa4b27923
commit
7813c249ef
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user