From e8cb17c586797156eb502b94383bb5bce9996a9a Mon Sep 17 00:00:00 2001 From: John Supplee Date: Sun, 24 Mar 2019 18:48:53 +0200 Subject: [PATCH] Fix problem postgrey configuration --- setup/mail-postfix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/mail-postfix.sh b/setup/mail-postfix.sh index fba1cb76..33d6fab3 100755 --- a/setup/mail-postfix.sh +++ b/setup/mail-postfix.sh @@ -204,7 +204,7 @@ postconf -e smtpd_sender_restrictions="reject_non_fqdn_sender,reject_unknown_sen RECIPIENT_RESTRICTIONS="permit_sasl_authenticated,permit_mynetworks,reject_rbl_client zen.spamhaus.org,reject_unlisted_recipient" -if [ $POSTGREY != 1 ]; then +if [ $POSTGREY == 1 ]; then RECIPIENT_RESTRICTIONS="${RECIPIENT_RESTRICTIONS},check_policy_service inet:127.0.0.1:10023" fi