From ee6975b109a3e8392b7b6e06e0afa1dec834e8d5 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Thu, 5 Jan 2023 18:14:19 +0100 Subject: [PATCH] doh --- core/postfix/conf/main.cf | 2 ++ core/postfix/conf/master.cf | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/postfix/conf/main.cf b/core/postfix/conf/main.cf index 2c9f71f3..7a2d0fe6 100644 --- a/core/postfix/conf/main.cf +++ b/core/postfix/conf/main.cf @@ -121,6 +121,8 @@ smtpd_relay_restrictions = unverified_recipient_reject_reason = Address lookup failure +smtpd_authorized_xclient_hosts={{ SUBNET}},{{ SUBNET6 }} + ############### # Milter ############### diff --git a/core/postfix/conf/master.cf b/core/postfix/conf/master.cf index 21d42b1b..86659460 100644 --- a/core/postfix/conf/master.cf +++ b/core/postfix/conf/master.cf @@ -11,7 +11,6 @@ smtp inet n - n - 1 smtpd -o smtpd_client_restrictions=$check_ratelimit,reject_unlisted_sender,reject_authenticated_sender_login_mismatch,permit -o smtpd_reject_unlisted_recipient={% if REJECT_UNLISTED_RECIPIENT %}{{ REJECT_UNLISTED_RECIPIENT }}{% else %}no{% endif %} -o cleanup_service_name=outclean - -o smtpd_authorized_xclient_hosts={{ SUBNET}},{{ SUBNET6 }} outclean unix n - n - 0 cleanup -o header_checks=pcre:/etc/postfix/outclean_header_filter.cf -o nested_header_checks=