X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fmail%2Fopensmtpd.nix;h=3f294dff3d1427cce2c0a5b1fa3d34470262ac54;hb=e34b30796934686fedc660fe8aef2990622b7cf5;hp=e05bba98a3cf458652ef23ebcbd299675d361686;hpb=bd0cb07b13aecd16a0782492655843a1b699611d;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/mail/opensmtpd.nix b/modules/private/mail/opensmtpd.nix index e05bba9..3f294df 100644 --- a/modules/private/mail/opensmtpd.nix +++ b/modules/private/mail/opensmtpd.nix @@ -14,7 +14,7 @@ enable = true; serverConfiguration = let filter-rewrite-from = pkgs.runCommand "filter-rewrite-from.py" { - buildInputs = [ pkgs.python3 ]; + buildInputs = [ pkgs.python38 ]; } '' cp ${./filter-rewrite-from.py} $out patchShebangs $out @@ -41,17 +41,5 @@ ''; }; environment.systemPackages = [ config.services.opensmtpd.package ]; - services.mail.sendmailSetuidWrapper = { - program = "sendmail"; - source = "${config.services.opensmtpd.package}/bin/smtpctl"; - setuid = false; - setgid = false; - }; - security.wrappers.mailq = { - program = "mailq"; - source = "${config.services.opensmtpd.package}/bin/smtpctl"; - setuid = false; - setgid = false; - }; }; }