summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix25
1 files changed, 9 insertions, 16 deletions
diff --git a/ymir.nix b/ymir.nix
index aae32058..68ae8ff5 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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" = {