diff --git a/install_postfix_advanced.sh b/install_postfix_advanced.sh index 19df54f..0864b0b 100755 --- a/install_postfix_advanced.sh +++ b/install_postfix_advanced.sh @@ -4164,7 +4164,7 @@ EOF # - Add support for policyd-spf service # - - if ! $(grep -iq -E "^policyd-spf\s+" "$postfix_master_cf" 2> /dev/null) ; then + if ! grep -iq -E "^policy-spf\s+" "$postfix_master_cf" 2> /dev/null ; then cat <> $postfix_master_cf policy-spf unix - n n - 0 spawn @@ -4175,7 +4175,7 @@ EOF # - Add transport definitions for only sending over IPv4/IPv6 # - - if ! $(grep -iq -E "^smtp-ipv4-only\s+" "$postfix_master_cf" 2> /dev/null) ; then + if ! grep -iq -E "^smtp-ipv4-only\s+" "$postfix_master_cf" 2> /dev/null ; then cat <> $postfix_master_cf smtp-ipv4-only unix - - n - - smtp @@ -4183,7 +4183,7 @@ smtp-ipv4-only unix - - n - - smtp EOF fi - if ! $(grep -iq -E "^smtp-ipv6-only\s+" "$postfix_master_cf" 2> /dev/null) ; then + if ! grep -iq -E "^smtp-ipv6-only\s+" "$postfix_master_cf" 2> /dev/null ; then cat <> $postfix_master_cf smtp-ipv6-only unix - - n - - smtp