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