2
0
mirror of https://github.com/tomav/docker-mailserver synced 2025-08-31 14:25:59 +00:00

fix: adjust DNSBL return code interpretation (#2890)

This commit is contained in:
Georg Lauterbach
2022-11-07 09:28:47 +01:00
committed by GitHub
parent 3b884dbd47
commit 0ef8d5ae2b
4 changed files with 10 additions and 9 deletions

View File

@@ -398,8 +398,8 @@ function _setup_postgrey
{
_log 'debug' 'Configuring Postgrey'
sed -i -E \
's|, reject_rbl_client zen.spamhaus.org$|, reject_rbl_client zen.spamhaus.org, check_policy_service inet:127.0.0.1:10023|' \
sedfile -i -E \
's|(^smtpd_recipient_restrictions =.*)|\1, check_policy_service inet:127.0.0.1:10023|' \
/etc/postfix/main.cf
sed -i -e \
@@ -1078,7 +1078,7 @@ function _setup_dnsbl_disable
_log 'debug' 'Disabling postfix DNS block list (zen.spamhaus.org)'
sedfile -i \
'/^smtpd_recipient_restrictions = / s/, reject_rbl_client zen.spamhaus.org//' \
'/^smtpd_recipient_restrictions = / s/, reject_rbl_client zen.spamhaus.org=127.0.0.\[2..11\]//' \
/etc/postfix/main.cf
_log 'debug' 'Disabling postscreen DNS block lists'