diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-07-25 22:06:56 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-07-25 22:06:56 +0200 |
commit | 5600bd9b43ed98a5c92deab74fe0b54fe747a15e (patch) | |
tree | 9cce4916d51756229681835f666244c22226a63b /hel.nix | |
parent | 6589731201c38f36340607ce73ed0c6fa8580d19 (diff) | |
download | nixos-5600bd9b43ed98a5c92deab74fe0b54fe747a15e.tar nixos-5600bd9b43ed98a5c92deab74fe0b54fe747a15e.tar.gz nixos-5600bd9b43ed98a5c92deab74fe0b54fe747a15e.tar.bz2 nixos-5600bd9b43ed98a5c92deab74fe0b54fe747a15e.tar.xz nixos-5600bd9b43ed98a5c92deab74fe0b54fe747a15e.zip |
just prevent uucp from using sendmail
Diffstat (limited to 'hel.nix')
-rw-r--r-- | hel.nix | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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 = '' |