From 1b360385551c34d69f289ecc77cfe8e4a9f59414 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 5 Dec 2018 14:22:14 +0100 Subject: [PATCH] install_postfix_advanced.sh: add greylist whitelistfile 'whitelist_clients.local'. fix error for header_checks. --- install_postfix_advanced.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/install_postfix_advanced.sh b/install_postfix_advanced.sh index ce86ac3..ef06889 100755 --- a/install_postfix_advanced.sh +++ b/install_postfix_advanced.sh @@ -484,7 +484,12 @@ echononl " Create /etc/postgrey/whitelist_clients.local (additional whitelist cat << EOF > /etc/postgrey/whitelist_clients.local # For Office 365 - servers: ##/.*outbound.protection.outlook.com\$/ -/^mail-.*\.outbound\.protection\.outlook\.com\$/ +/^mail-.*\\.outbound\\.protection\\.outlook\\.com\$/ +# facebookmail.com - big pool +/.*\\.mail-mail\\.facebook\\.com\$/ +# tor hidde service +127.0.0.25 + EOF if [[ $? -eq 0 ]] ; then echo_ok @@ -923,7 +928,7 @@ bounce_queue_lifetime = \$maximal_queue_lifetime ## - The default time unit is h (hours). delay_warning_time = 1d -#header_checks = pcre:/etc/postfix/header_checks +#header_checks = pcre:/etc/postfix/header_checks_pcre prepend_delivered_header = forward file