diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-07-25 22:01:39 +0200 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-07-25 22:01:39 +0200 |
| commit | fb679adc5e1eaf49758788ca86f98fe9e8a41979 (patch) | |
| tree | fb5e677895b8b33db25bec01af9dbd3e8e0919b6 | |
| parent | 27e1f491e2c8ad0d92b9628ba41a65115d454ea9 (diff) | |
| download | nixos-fb679adc5e1eaf49758788ca86f98fe9e8a41979.tar nixos-fb679adc5e1eaf49758788ca86f98fe9e8a41979.tar.gz nixos-fb679adc5e1eaf49758788ca86f98fe9e8a41979.tar.bz2 nixos-fb679adc5e1eaf49758788ca86f98fe9e8a41979.tar.xz nixos-fb679adc5e1eaf49758788ca86f98fe9e8a41979.zip | |
deny uucp via restriction
| -rw-r--r-- | hel.nix | 13 |
1 files changed, 10 insertions, 3 deletions
| @@ -175,15 +175,22 @@ | |||
| 175 | relayHost = "uucp:ymir"; | 175 | relayHost = "uucp:ymir"; |
| 176 | recipientDelimiter = "+"; | 176 | recipientDelimiter = "+"; |
| 177 | transport = '' | 177 | transport = '' |
| 178 | uucp@hel.midgard.yggdrasil local:hel | ||
| 179 | * uucp:ymir | 178 | * uucp:ymir |
| 180 | ''; | 179 | ''; |
| 181 | extraMasterConf = '' | 180 | extraMasterConf = '' |
| 182 | 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) |
| 183 | ''; | 182 | ''; |
| 184 | extraAliases = '' | 183 | extraMainConf = '' |
| 185 | uucp /dev/null | 184 | smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/recipient_restrictions |
| 185 | , permit_mynetworks | ||
| 186 | , reject_unauth_destination | ||
| 187 | , permit | ||
| 186 | ''; | 188 | ''; |
| 189 | aliasFiles = { | ||
| 190 | "recipient_restrictions" = '' | ||
| 191 | uucp@hel.midgard.yggdrasil REJECT | ||
| 192 | ''; | ||
| 193 | }; | ||
| 187 | }; | 194 | }; |
| 188 | 195 | ||
| 189 | udev.extraRules = '' | 196 | udev.extraRules = '' |
