From 0003d2e7dacc96a81fa886b9bcdfb5f641d3ca44 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 26 Jul 2017 15:16:42 +0200 Subject: Try to formulate uucp --- ymir.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ymir.nix b/ymir.nix index 2772be91..e9445c2c 100644 --- a/ymir.nix +++ b/ymir.nix @@ -567,6 +567,16 @@ in rec { recipient_canonical_maps = tcp:localhost:10002 recipient_canonical_classes= envelope_recipient,header_recipient ''; + masterConf = { + uucp = { + type = "unix"; + private = true; + privileged = false; + chroot = false; + command = "pipe"; + args = [ "flags=Fqhu" "user=uucp" ''argv=${config.security.wrapperDir}/uux -z -a $sender - $nexthop!rmail ($recipient)'' ]; + }; + }; extraMasterConf = '' uucp unix - n n - - pipe flags=Fqhu user=uucp argv=${config.security.wrapperDir}/uux -z -a $sender - $nexthop!rmail ($recipient) mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L /var/spool/lists/''${user} -- cgit v1.2.3