From 5600bd9b43ed98a5c92deab74fe0b54fe747a15e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 25 Jul 2016 22:06:56 +0200 Subject: just prevent uucp from using sendmail --- hel.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/hel.nix b/hel.nix index 94a9cfda..7543ba31 100644 --- a/hel.nix +++ b/hel.nix @@ -181,16 +181,8 @@ uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient) ''; extraConfig = '' - smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/recipient_restrictions - , permit_mynetworks - , reject_unauth_destination - , permit + authorized_submit_users = !uucp, static:anyone ''; - aliasFiles = { - "recipient_restrictions" = pkgs.writeText "recipient_restrictions" '' - uucp@hel.midgard.yggdrasil REJECT - ''; - }; }; udev.extraRules = '' -- cgit v1.2.3