summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odin.nix10
-rw-r--r--ymir.nix3
2 files changed, 3 insertions, 10 deletions
diff --git a/odin.nix b/odin.nix
index 1c0b1ecf..82af945f 100644
--- a/odin.nix
+++ b/odin.nix
@@ -107,17 +107,9 @@
107 rootAlias = "gkleen"; 107 rootAlias = "gkleen";
108 108
109 destination = [''regexp:${pkgs.writeText "destination" '' 109 destination = [''regexp:${pkgs.writeText "destination" ''
110 /\.?yggdrasil\.li$/ ACCEPT
111 /\.?praseodym\.org$/ ACCEPT
112 /\.?141\.li$/ ACCEPT
113 /\.?xmpp\.li$/ ACCEPT
114 /\.?kleen\.li$/ ACCEPT
115 /\.?dirty-haskell\.org$/ ACCEPT
116 /\.?nights\.email$/ ACCEPT
117 /\.?yggdrasil$/ ACCEPT
118 /\.?localdomain$/ ACCEPT 110 /\.?localdomain$/ ACCEPT
119 /^localhost$/ ACCEPT 111 /^localhost$/ ACCEPT
120 /\.?odin$/ ACCEPT 112 /\.?odin(\.asgard\.yggdrasil)?$/ ACCEPT
121 ''}'']; 113 ''}''];
122 config = { 114 config = {
123 default_transport = "uucp:ymir"; 115 default_transport = "uucp:ymir";
diff --git a/ymir.nix b/ymir.nix
index a0a58041..3b244d89 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -520,7 +520,8 @@ in rec {
520 transport_maps = ''regexp:${pkgs.writeText "transport" '' 520 transport_maps = ''regexp:${pkgs.writeText "transport" ''
521 /@(lists?|l)\./ mlmmj: 521 /@(lists?|l)\./ mlmmj:
522 /@subs?\.(lists?|l)\./ mlmmj-subs: 522 /@subs?\.(lists?|l)\./ mlmmj-subs:
523 ''} regexp:/srv/mail/transport pipemap:{texthash:/srv/mail/discard,static:{discard:}}''; 523 /@odin(\.asgard\.yggdrasil)?^/ uucp:odin
524 ''} pipemap:{texthash:/srv/mail/discard,static:{discard:}}'';
524 525
525 local_recipient_maps = ""; 526 local_recipient_maps = "";
526 527