summaryrefslogtreecommitdiff
path: root/hosts/sif/mail/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/sif/mail/default.nix')
-rw-r--r--hosts/sif/mail/default.nix10
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" ''