summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-16 16:29:34 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-16 16:29:34 +0200
commit4ea855490dd670c49834005339cae81badbb20a7 (patch)
tree3c9309f9b0dc86665f2a76f66d5dd198e09f32e1 /hel.nix
parent4d36cc4cc85953dae0ba64b30d20b6c01b485792 (diff)
downloadnixos-4ea855490dd670c49834005339cae81badbb20a7.tar
nixos-4ea855490dd670c49834005339cae81badbb20a7.tar.gz
nixos-4ea855490dd670c49834005339cae81badbb20a7.tar.bz2
nixos-4ea855490dd670c49834005339cae81badbb20a7.tar.xz
nixos-4ea855490dd670c49834005339cae81badbb20a7.zip
postfix relay on hel
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index fc7e58f5..7ce627b8 100644
--- a/hel.nix
+++ b/hel.nix
@@ -141,6 +141,23 @@
141 "isaac" = ["recv-media"]; 141 "isaac" = ["recv-media"];
142 }; 142 };
143 }; 143 };
144
145 postfix = {
146 enable = true;
147 enableSmtp = false;
148 setSendmail = true;
149 networksStyle = "host";
150 hostname = "hel.midgard.yggdrasil";
151 destination = [];
152 relayHost = "uucp:ymir";
153 recipientDelimiter = "+";
154 transport = ''
155 * uucp:ymir
156 '';
157 extraMasterConf = ''
158 uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient)
159 '';
160 };
144 }; 161 };
145 162
146 users = { 163 users = {