summary refs log tree commit diff
path: root/nixos/modules/services/mail/sympa.nix
diff options
context:
space:
mode:
authorMartin Milata <martin@martinmilata.cz>2020-03-24 02:35:39 +0100
committerMartin Milata <martin@martinmilata.cz>2020-03-24 02:35:39 +0100
commitfdc36e2c89759db3bbf9d5fe2648c31b7988dbca (patch)
tree35117fafe9bf254198219b1695e5e0796e84d6fc /nixos/modules/services/mail/sympa.nix
parent8f632b404f225d70867d5e916c4a5c8be17f8852 (diff)
downloadnixpkgs-fdc36e2c89759db3bbf9d5fe2648c31b7988dbca.tar
nixpkgs-fdc36e2c89759db3bbf9d5fe2648c31b7988dbca.tar.gz
nixpkgs-fdc36e2c89759db3bbf9d5fe2648c31b7988dbca.tar.bz2
nixpkgs-fdc36e2c89759db3bbf9d5fe2648c31b7988dbca.tar.lz
nixpkgs-fdc36e2c89759db3bbf9d5fe2648c31b7988dbca.tar.xz
nixpkgs-fdc36e2c89759db3bbf9d5fe2648c31b7988dbca.tar.zst
nixpkgs-fdc36e2c89759db3bbf9d5fe2648c31b7988dbca.zip
nixos/sympa: fix outgoing messaging
Because ProtectKernelModules implies NoNewPrivileges, postfix's sendmail
executable, which is setgid, wasn't able to send mail.
Diffstat (limited to 'nixos/modules/services/mail/sympa.nix')
-rw-r--r--nixos/modules/services/mail/sympa.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/services/mail/sympa.nix b/nixos/modules/services/mail/sympa.nix
index 7b9c37aba20..0cad09927b2 100644
--- a/nixos/modules/services/mail/sympa.nix
+++ b/nixos/modules/services/mail/sympa.nix
@@ -25,8 +25,6 @@ let
     StateDirectory = "sympa";
     ProtectHome = true;
     ProtectSystem = "full";
-    ProtectKernelTunables = true;
-    ProtectKernelModules = true;
     ProtectControlGroups = true;
   };