diff options
-rw-r--r-- | ymir.nix | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -577,25 +577,25 @@ in rec { | |||
577 | args = [ "flags=Fqhu" "user=uucp" ''argv=${config.security.wrapperDir}/uux -z -a $sender - $nexthop!rmail ($recipient)'' ]; | 577 | args = [ "flags=Fqhu" "user=uucp" ''argv=${config.security.wrapperDir}/uux -z -a $sender - $nexthop!rmail ($recipient)'' ]; |
578 | }; | 578 | }; |
579 | }; | 579 | }; |
580 | extraMasterConf = '' | 580 | # extraMasterConf = '' |
581 | uucp unix - n n - - pipe flags=Fqhu user=uucp argv=${config.security.wrapperDir}/uux -z -a $sender - $nexthop!rmail ($recipient) | 581 | # uucp unix - n n - - pipe flags=Fqhu user=uucp argv=${config.security.wrapperDir}/uux -z -a $sender - $nexthop!rmail ($recipient) |
582 | mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L /var/spool/lists/''${user} | 582 | # mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L /var/spool/lists/''${user} |
583 | mlmmj-subs unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj-exposed}/bin/mlmmj-exposed /var/spool/lists/''${user} ''${extension} | 583 | # mlmmj-subs unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj-exposed}/bin/mlmmj-exposed /var/spool/lists/''${user} ''${extension} |
584 | policy-spf unix - n n - - spawn user=nobody argv=${pkgs.pythonPackages.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf} | 584 | # policy-spf unix - n n - - spawn user=nobody argv=${pkgs.pythonPackages.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf} |
585 | logEmail unix - n n - 10 pipe flags=Rq user=nobody null_sender= argv=${pkgs.writeScript "logEmail" '' | 585 | # logEmail unix - n n - 10 pipe flags=Rq user=nobody null_sender= argv=${pkgs.writeScript "logEmail" '' |
586 | #!${pkgs.stdenv.shell} | 586 | # #!${pkgs.stdenv.shell} |
587 | 587 | ||
588 | export PATH=${config.security.wrapperDir}:/run/current-system/sw/bin | 588 | # export PATH=${config.security.wrapperDir}:/run/current-system/sw/bin |
589 | 589 | ||
590 | mailFile=/tmp/logEmail/$(date +"%F-%H%M%S").$$ | 590 | # mailFile=/tmp/logEmail/$(date +"%F-%H%M%S").$$ |
591 | 591 | ||
592 | mkdir -p -m 700 /tmp/logEmail | 592 | # mkdir -p -m 700 /tmp/logEmail |
593 | 593 | ||
594 | cat >$mailFile | 594 | # cat >$mailFile |
595 | 595 | ||
596 | sendmail -G -i "$@" <$mailFile | 596 | # sendmail -G -i "$@" <$mailFile |
597 | ''} -f ''${sender} -- ''${recipient} | 597 | # ''} -f ''${sender} -- ''${recipient} |
598 | ''; | 598 | # ''; |
599 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; | 599 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; |
600 | }; | 600 | }; |
601 | 601 | ||