From 4ea855490dd670c49834005339cae81badbb20a7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 16 May 2016 16:29:34 +0200 Subject: postfix relay on hel --- hel.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hel.nix b/hel.nix index fc7e58f5..7ce627b8 100644 --- a/hel.nix +++ b/hel.nix @@ -141,6 +141,23 @@ "isaac" = ["recv-media"]; }; }; + + postfix = { + enable = true; + enableSmtp = false; + setSendmail = true; + networksStyle = "host"; + hostname = "hel.midgard.yggdrasil"; + destination = []; + relayHost = "uucp:ymir"; + recipientDelimiter = "+"; + transport = '' + * uucp:ymir + ''; + extraMasterConf = '' + uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient) + ''; + }; }; users = { -- cgit v1.2.3