From b5059949e7f56f48deda771b42b46af49a31fa01 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 1 Oct 2021 15:58:08 +0200 Subject: sif: ... --- hosts/sif/mail/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'hosts/sif/mail') 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 @@ command = "pipe"; args = [ "flags=Fqhu" "user=uucp" ''argv=${config.security.wrapperDir}/uux -z -a $sender - $nexthop!rmail ($recipient)'' ]; }; + smtps = { + type = "unix"; + private = true; + privileged = true; + chroot = false; + command = "stmp"; + args = [ "-o" "smtp_tls_wrappermode=yes" "-o" "smtp_tls_security_level=encrypt" ]; + }; }; transport = '' odin.asgard.yggdrasil uucp:odin @@ -36,7 +44,7 @@ sender_dependent_default_transport_maps = ''regexp:${pkgs.writeText "sender_relay" '' /@(cip|stud)\.ifi\.(lmu|uni-muenchen)\.de$/ smtp:smtp.ifi.lmu.de /@ifi\.(lmu|uni-muenchen)\.de$/ smtp:smtpin1.ifi.lmu.de:587 - /@math(ematik)?\.(lmu|uni-muenchen)\.de$/ smtp:smtp.math.lmu.de:587 + /@math(ematik)?\.(lmu|uni-muenchen)\.de$/ smtps:smtp.math.lmu.de:465 /@(campus\.)?lmu\.de$/ smtp:postout.lrz.de ''}''; sender_bcc_maps = ''regexp:${pkgs.writeText "sender_bcc" '' -- cgit v1.2.3