diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-11-10 13:21:04 +0100 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-11-10 13:21:04 +0100 |
commit | 168744a76cb3bb5f1fccb273cce8b7ff0231d451 (patch) | |
tree | 60f955d75343bd50a7de1b8365ef24f1df5a2425 | |
parent | 7ed82e6c94faa947e964ea465ca7748d27192264 (diff) | |
download | nixos-168744a76cb3bb5f1fccb273cce8b7ff0231d451.tar nixos-168744a76cb3bb5f1fccb273cce8b7ff0231d451.tar.gz nixos-168744a76cb3bb5f1fccb273cce8b7ff0231d451.tar.bz2 nixos-168744a76cb3bb5f1fccb273cce8b7ff0231d451.tar.xz nixos-168744a76cb3bb5f1fccb273cce8b7ff0231d451.zip |
don't try to be that clever
-rw-r--r-- | ymir.nix | 25 |
1 files changed, 9 insertions, 16 deletions
@@ -461,14 +461,7 @@ in rec { | |||
461 | maximal_queue_lifetime = 100m | 461 | maximal_queue_lifetime = 100m |
462 | bounce_queue_lifetime = 20m | 462 | bounce_queue_lifetime = 20m |
463 | 463 | ||
464 | sender_canonical_maps = pipemap:{unionmap:{regexp:${pkgs.writeText "nosrs" '' | 464 | sender_canonical_maps = tcp:localhost:10001 |
465 | /((@.*\.)|@)yggdrasil\.li$/ ACCEPT | ||
466 | /((@.*\.)|@)praseodym\.org$/ ACCEPT | ||
467 | /((@.*\.)|@)141\.li$/ ACCEPT | ||
468 | /((@.*\.)|@)xmpp\.li$/ ACCEPT | ||
469 | /((@.*\.)|@)dirty-haskell\.org$/ ACCEPT | ||
470 | /((@.*\.)|@)lmu\.li$/ ACCEPT | ||
471 | ''}, regexp:${pkgs.writeText "id" ''/^(.*)$/ $1''}}, regexp:${pkgs.writeText "clean" ''/^[^,]*,(.*)$/ $1''}, tcp:localhost:10001} | ||
472 | sender_canonical_classes = envelope_sender | 465 | sender_canonical_classes = envelope_sender |
473 | recipient_canonical_maps = tcp:localhost:10002 | 466 | recipient_canonical_maps = tcp:localhost:10002 |
474 | recipient_canonical_classes= envelope_recipient,header_recipient | 467 | recipient_canonical_classes= envelope_recipient,header_recipient |
@@ -485,14 +478,14 @@ in rec { | |||
485 | services.postsrsd = { | 478 | services.postsrsd = { |
486 | enable = false; | 479 | enable = false; |
487 | domain = "srs.141.li"; | 480 | domain = "srs.141.li"; |
488 | separator = "+"; | 481 | separator = "+"; |
489 | # excludeDomains = [ ".yggdrasil.li" "yggdrasil.li" | 482 | excludeDomains = [ ".yggdrasil.li" "yggdrasil.li" |
490 | # ".praseodym.org" "praseodym.org" | 483 | ".praseodym.org" "praseodym.org" |
491 | # ".141.li" "141.li" | 484 | ".141.li" "141.li" |
492 | # ".xmpp.li" "xmpp.li" | 485 | ".xmpp.li" "xmpp.li" |
493 | # ".lmu.li" "lmu.li" | 486 | ".lmu.li" "lmu.li" |
494 | # ".dirty-haskell.org" "dirty-haskell.org" | 487 | ".dirty-haskell.org" "dirty-haskell.org" |
495 | # ]; | 488 | ]; |
496 | }; | 489 | }; |
497 | 490 | ||
498 | systemd.timers."mlmmj-maintd" = { | 491 | systemd.timers."mlmmj-maintd" = { |