From 62f1dbe30f5133d5e410db51bc1ddd5ab27d6e1b Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 6 Feb 2021 16:49:20 +0100 Subject: [PATCH] mailserver: Disable recipient_restrictions for submission Otherwise, sending mails to slow destinations might fail (with the client throwing an error). --- modules/mailserver.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/mailserver.nix b/modules/mailserver.nix index 293af23..3e50141 100644 --- a/modules/mailserver.nix +++ b/modules/mailserver.nix @@ -251,6 +251,8 @@ in smtpd_sender_login_maps = "hash:/etc/postfix/valiases"; + smtpd_recipient_restrictions = listToString [ ]; + smtpd_client_restrictions = listToString [ "permit_sasl_authenticated" "reject"