From 6bb183a397d16469c595840e2894b74a5ada9821 Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 18 May 2018 04:07:45 +0200 Subject: [PATCH] install_amavis.sh, localhost:10025: add '[::1]/128' to the allowed hosts (mynetwork). --- install_amavis.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/install_amavis.sh b/install_amavis.sh index 8ccd8de..826be0c 100755 --- a/install_amavis.sh +++ b/install_amavis.sh @@ -3855,13 +3855,13 @@ fi ## - localhost:10025 inet n - - - - smtpd ## - -o content_filter= ## - -o smtpd_proxy_filter= -## - -o smtpd_authorized_xforward_hosts=127.0.0.0/8 +## - -o smtpd_authorized_xforward_hosts=127.0.0.0/8,[::1]/128 ## - -o smtpd_client_restrictions= ## - -o smtpd_helo_restrictions= ## - -o smtpd_sender_restrictions= ## - -o smtpd_recipient_restrictions=permit_mynetworks,reject ## - -o smtpd_data_restrictions= -## - -o mynetworks=127.0.0.0/8,<$_ipv4_address/32> +## - -o mynetworks=127.0.0.0/8,[::1]/128,<$_ipv4_address/32> ## - -o receive_override_options=no_unknown_recipient_checks ## - postfix_master_cf="/etc/postfix/master.cf" @@ -3917,15 +3917,15 @@ EOF localhost:10025 inet n - y - - smtpd -o content_filter= -o smtpd_proxy_filter= - -o smtpd_authorized_xforward_hosts=127.0.0.0/8 + -o smtpd_authorized_xforward_hosts=127.0.0.0/8,[::1]/128 -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions= - -o mynetworks=127.0.0.0/8 + -o mynetworks=127.0.0.0/8,[::1]/128 -o receive_override_options=no_unknown_recipient_checks - #-o mynetworks=127.0.0.0/8,${IPV4}/32 + #-o mynetworks=127.0.0.0/8,[::1]/128,${IPV4}/32 EOF fi @@ -3949,15 +3949,15 @@ EOF localhost:10025 inet n - y - - smtpd -o content_filter= -o smtpd_proxy_filter= - -o smtpd_authorized_xforward_hosts=127.0.0.0/8 + -o smtpd_authorized_xforward_hosts=127.0.0.0/8,[::1]/128 -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions= - -o mynetworks=127.0.0.0/8 + -o mynetworks=127.0.0.0/8,[::1]/128 -o receive_override_options=no_unknown_recipient_checks - #-o mynetworks=127.0.0.0/8,${IPV4}/32 + #-o mynetworks=127.0.0.0/8,[::1]/128,${IPV4}/32 EOF fi @@ -3992,15 +3992,15 @@ EOF localhost:10025 inet n - y - - smtpd -o content_filter= -o smtpd_proxy_filter= - -o smtpd_authorized_xforward_hosts=127.0.0.0/8 + -o smtpd_authorized_xforward_hosts=127.0.0.0/8,[::1]/128 -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions= - -o mynetworks=127.0.0.0/8 + -o mynetworks=127.0.0.0/8,[::1]/128 -o receive_override_options=no_unknown_recipient_checks - #-o mynetworks=127.0.0.0/8,${IPV4}/32 + #-o mynetworks=127.0.0.0/8,[::1]/128,${IPV4}/32 EOF fi @@ -4024,15 +4024,15 @@ EOF localhost:10025 inet n - y - - smtpd -o content_filter= -o smtpd_proxy_filter= - -o smtpd_authorized_xforward_hosts=127.0.0.0/8 + -o smtpd_authorized_xforward_hosts=127.0.0.0/8,[::1]/128 -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions= - -o mynetworks=127.0.0.0/8 + -o mynetworks=127.0.0.0/8,[::1]/128 -o receive_override_options=no_unknown_recipient_checks - #-o mynetworks=127.0.0.0/8,${IPV4}/32 + #-o mynetworks=127.0.0.0/8,[::1]/128,${IPV4}/32 EOF continue fi