diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-01 15:58:08 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-01 15:58:08 +0200 |
commit | b5059949e7f56f48deda771b42b46af49a31fa01 (patch) | |
tree | 1a6c81d60a76c5a996d6b1aed92d2fdef501f461 /hosts/sif | |
parent | 89ae86359d5c80f4c5ff232ec54b17fc25357fb8 (diff) | |
download | nixos-b5059949e7f56f48deda771b42b46af49a31fa01.tar nixos-b5059949e7f56f48deda771b42b46af49a31fa01.tar.gz nixos-b5059949e7f56f48deda771b42b46af49a31fa01.tar.bz2 nixos-b5059949e7f56f48deda771b42b46af49a31fa01.tar.xz nixos-b5059949e7f56f48deda771b42b46af49a31fa01.zip |
sif: ...
Diffstat (limited to 'hosts/sif')
-rw-r--r-- | hosts/sif/mail/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/hosts/sif/mail/default.nix b/hosts/sif/mail/default.nix index 12e72574..28b71928 100644 --- a/hosts/sif/mail/default.nix +++ b/hosts/sif/mail/default.nix | |||
@@ -19,6 +19,14 @@ | |||
19 | command = "pipe"; | 19 | command = "pipe"; |
20 | args = [ "flags=Fqhu" "user=uucp" ''argv=${config.security.wrapperDir}/uux -z -a $sender - $nexthop!rmail ($recipient)'' ]; | 20 | args = [ "flags=Fqhu" "user=uucp" ''argv=${config.security.wrapperDir}/uux -z -a $sender - $nexthop!rmail ($recipient)'' ]; |
21 | }; | 21 | }; |
22 | smtps = { | ||
23 | type = "unix"; | ||
24 | private = true; | ||
25 | privileged = true; | ||
26 | chroot = false; | ||
27 | command = "stmp"; | ||
28 | args = [ "-o" "smtp_tls_wrappermode=yes" "-o" "smtp_tls_security_level=encrypt" ]; | ||
29 | }; | ||
22 | }; | 30 | }; |
23 | transport = '' | 31 | transport = '' |
24 | odin.asgard.yggdrasil uucp:odin | 32 | odin.asgard.yggdrasil uucp:odin |
@@ -36,7 +44,7 @@ | |||
36 | sender_dependent_default_transport_maps = ''regexp:${pkgs.writeText "sender_relay" '' | 44 | sender_dependent_default_transport_maps = ''regexp:${pkgs.writeText "sender_relay" '' |
37 | /@(cip|stud)\.ifi\.(lmu|uni-muenchen)\.de$/ smtp:smtp.ifi.lmu.de | 45 | /@(cip|stud)\.ifi\.(lmu|uni-muenchen)\.de$/ smtp:smtp.ifi.lmu.de |
38 | /@ifi\.(lmu|uni-muenchen)\.de$/ smtp:smtpin1.ifi.lmu.de:587 | 46 | /@ifi\.(lmu|uni-muenchen)\.de$/ smtp:smtpin1.ifi.lmu.de:587 |
39 | /@math(ematik)?\.(lmu|uni-muenchen)\.de$/ smtp:smtp.math.lmu.de:587 | 47 | /@math(ematik)?\.(lmu|uni-muenchen)\.de$/ smtps:smtp.math.lmu.de:465 |
40 | /@(campus\.)?lmu\.de$/ smtp:postout.lrz.de | 48 | /@(campus\.)?lmu\.de$/ smtp:postout.lrz.de |
41 | ''}''; | 49 | ''}''; |
42 | sender_bcc_maps = ''regexp:${pkgs.writeText "sender_bcc" '' | 50 | sender_bcc_maps = ''regexp:${pkgs.writeText "sender_bcc" '' |