From 1e88f4e82197f80a6b0f512b2d372d4faa504896 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Sun, 11 Jun 2023 14:53:03 -0400 Subject: [PATCH] Stop referencing IPs we haven't had for years Possibly also stop being an open relay for a small corner of AWS... --- main.cf | 2 +- master.cf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.cf b/main.cf index 43b0f1e..bba2fed 100644 --- a/main.cf +++ b/main.cf @@ -257,7 +257,7 @@ unknown_local_recipient_reject_code = 550 # (the value on the table right-hand side is not used). # # Added by Alex Dehnert -mynetworks = 66.92.29.156/32, 66.92.29.144/32, 127.0.0.1/32, 18.111.8.18/32, 18.102.208.15/32, [::1]/128 +mynetworks = 66.92.29.156/32, 66.92.29.144/32, 127.0.0.1/32, 18.111.8.18/32, [::1]/128 #mynetworks = 168.100.189.0/28, 127.0.0.0/8 #mynetworks = $config_directory/mynetworks #mynetworks = hash:/etc/postfix/network_table diff --git a/master.cf b/master.cf index 9a30e9a..4cceeb2 100644 --- a/master.cf +++ b/master.cf @@ -61,8 +61,8 @@ smtp inet n - y - 5 smtpd -o mynetworks=127.0.0.0/8 -o receive_override_options=no_unknown_recipient_checks,no_milters -smtp-forward unix - - n - - smtp -o smtp_bind_address=18.102.208.11 -smtp-local unix - - n - - smtp -o smtp_bind_address=18.102.208.44 +#smtp-forward unix - - n - - smtp -o smtp_bind_address=18.102.208.11 +#smtp-local unix - - n - - smtp -o smtp_bind_address=18.102.208.44 # When relaying mail as backup MX, disable fallback_relay to avoid MX loops # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 -- 2.34.1