diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-25 11:53:55 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-25 11:53:55 +0200 |
commit | e6f417130da813dc3bd7e3c54172b6b0bdba940f (patch) | |
tree | e9a3dd242f8131fbd472f663f1f73883a7b91415 | |
parent | b905e96b5bf8c1462aae9e22c7d1232a92ba2edc (diff) | |
download | nixos-e6f417130da813dc3bd7e3c54172b6b0bdba940f.tar nixos-e6f417130da813dc3bd7e3c54172b6b0bdba940f.tar.gz nixos-e6f417130da813dc3bd7e3c54172b6b0bdba940f.tar.bz2 nixos-e6f417130da813dc3bd7e3c54172b6b0bdba940f.tar.xz nixos-e6f417130da813dc3bd7e3c54172b6b0bdba940f.zip |
just use srs on all domains for now
-rw-r--r-- | ymir.nix | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -388,7 +388,6 @@ in rec { | |||
388 | /^gkleen[@\+]/ uucp:isaac | 388 | /^gkleen[@\+]/ uucp:isaac |
389 | /@(lists?|l)\./ mlmmj: | 389 | /@(lists?|l)\./ mlmmj: |
390 | /@subs?\.(lists?|l)\./ mlmmj-subs: | 390 | /@subs?\.(lists?|l)\./ mlmmj-subs: |
391 | /@srs\.141\.li$/ smtp:localhost:10003 | ||
392 | ''} | 391 | ''} |
393 | 392 | ||
394 | luser_relay = gkleen+''${local} | 393 | luser_relay = gkleen+''${local} |
@@ -446,22 +445,21 @@ in rec { | |||
446 | 445 | ||
447 | sender_canonical_maps = tcp:127.0.0.1:10001 | 446 | sender_canonical_maps = tcp:127.0.0.1:10001 |
448 | sender_canonical_classes = envelope_sender | 447 | sender_canonical_classes = envelope_sender |
448 | recipient_canonical_maps=tcp:127.0.0.1:10002 | ||
449 | recipient_canonical_classes=envelope_recipient,header_recipient | ||
449 | ''; | 450 | ''; |
450 | extraMasterConf = '' | 451 | extraMasterConf = '' |
451 | uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a $sender - $nexthop!rmail ($recipient) | 452 | uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a $sender - $nexthop!rmail ($recipient) |
452 | mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L /var/spool/lists/''${user} | 453 | mlmmj unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj}/bin/mlmmj-receive -F -L /var/spool/lists/''${user} |
453 | mlmmj-subs unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj-exposed}/bin/mlmmj-exposed /var/spool/lists/''${user} ''${extension} | 454 | mlmmj-subs unix - n n - - pipe flags=ORhu user=mlmmj argv=${pkgs.mlmmj-exposed}/bin/mlmmj-exposed /var/spool/lists/''${user} ''${extension} |
454 | policy-spf unix - n n - - spawn user=nobody argv=${pkgs.pythonPackages.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf} | 455 | policy-spf unix - n n - - spawn user=nobody argv=${pkgs.pythonPackages.pypolicyd-spf}/bin/policyd-spf ${./ymir/spf.conf} |
455 | localhost:10003 inet n - n - - smtpd | ||
456 | -o recipient_canonical_maps=tcp:127.0.0.1:10002 | ||
457 | -o recipient_canonical_classes=envelope_recipient,header_recipient | ||
458 | ''; | 456 | ''; |
459 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; | 457 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; |
460 | }; | 458 | }; |
461 | 459 | ||
462 | services.postsrsd = { | 460 | services.postsrsd = { |
463 | enable = true; | 461 | enable = true; |
464 | domain = "srs.141.li"; | 462 | domain = "141.li"; |
465 | }; | 463 | }; |
466 | 464 | ||
467 | systemd.timers."mlmmj-maintd" = { | 465 | systemd.timers."mlmmj-maintd" = { |