Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f206184a4752
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: db3beda6b565
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 13, 2019

  1. 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.
    alyssais committed Nov 13, 2019
    Copy the full SHA
    7813c24 View commit details

Commits on Nov 14, 2019

  1. Merge pull request #73348 from alyssais/mailq-setgid

    nixos/postfix: add missing setgid wrapper
    peti authored Nov 14, 2019
    Copy the full SHA
    db3beda View commit details
Showing with 8 additions and 0 deletions.
  1. +8 −0 nixos/modules/services/mail/postfix.nix
8 changes: 8 additions & 0 deletions nixos/modules/services/mail/postfix.nix
Original file line number Diff line number Diff line change
@@ -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";