summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-07-25 22:06:56 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-07-25 22:06:56 +0200
commit5600bd9b43ed98a5c92deab74fe0b54fe747a15e (patch)
tree9cce4916d51756229681835f666244c22226a63b
parent6589731201c38f36340607ce73ed0c6fa8580d19 (diff)
downloadnixos-5600bd9b43ed98a5c92deab74fe0b54fe747a15e.tar
nixos-5600bd9b43ed98a5c92deab74fe0b54fe747a15e.tar.gz
nixos-5600bd9b43ed98a5c92deab74fe0b54fe747a15e.tar.bz2
nixos-5600bd9b43ed98a5c92deab74fe0b54fe747a15e.tar.xz
nixos-5600bd9b43ed98a5c92deab74fe0b54fe747a15e.zip
just prevent uucp from using sendmail
-rw-r--r--hel.nix10
1 files changed, 1 insertions, 9 deletions
diff --git a/hel.nix b/hel.nix
index 94a9cfda..7543ba31 100644
--- a/hel.nix
+++ b/hel.nix
@@ -181,16 +181,8 @@
181 uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient) 181 uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient)
182 ''; 182 '';
183 extraConfig = '' 183 extraConfig = ''
184 smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/recipient_restrictions 184 authorized_submit_users = !uucp, static:anyone
185 , permit_mynetworks
186 , reject_unauth_destination
187 , permit
188 ''; 185 '';
189 aliasFiles = {
190 "recipient_restrictions" = pkgs.writeText "recipient_restrictions" ''
191 uucp@hel.midgard.yggdrasil REJECT
192 '';
193 };
194 }; 186 };
195 187
196 udev.extraRules = '' 188 udev.extraRules = ''