install_postfix_advanced.sh: add greylist whitelistfile 'whitelist_clients.local'. fix error for header_checks.
This commit is contained in:
parent
20a9a17cb0
commit
1b36038555
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user