diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-05 15:45:06 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-05 15:45:06 +0200 |
commit | f53939153f5365584fb412e86d45eea8410fbea5 (patch) | |
tree | 3f689f22b9b889e5f5c71c3683a69556bb5db036 | |
parent | c0789c0c538e1c4e7a7af39d7d0618ee6291ec34 (diff) | |
download | nixos-f53939153f5365584fb412e86d45eea8410fbea5.tar nixos-f53939153f5365584fb412e86d45eea8410fbea5.tar.gz nixos-f53939153f5365584fb412e86d45eea8410fbea5.tar.bz2 nixos-f53939153f5365584fb412e86d45eea8410fbea5.tar.xz nixos-f53939153f5365584fb412e86d45eea8410fbea5.zip |
better destinations
-rw-r--r-- | odin.nix | 10 | ||||
-rw-r--r-- | ymir.nix | 3 |
2 files changed, 3 insertions, 10 deletions
@@ -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"; |
@@ -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 | ||