From d20f401ebfb0a4041b51232464275ad3727a6fc2 Mon Sep 17 00:00:00 2001 From: Christoph Kuchenbuch Date: Thu, 1 Jun 2017 23:54:09 +0200 Subject: [PATCH] Fix (another) bug on writing postfix master.cf. --- install_opendkim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_opendkim.sh b/install_opendkim.sh index 2fcf58f..170d378 100755 --- a/install_opendkim.sh +++ b/install_opendkim.sh @@ -495,7 +495,7 @@ while IFS='' read -r _line || [[ -n $_line ]] ; do _found=false fi - if echo "$_line" | grep -i -q -E "^\s*127.0.0.1:10025\s+inet\s+" 2> /dev/null ; then + if echo "$_line" | grep -i -q -E "^\s*(127.0.0.1|localhost):10025\s+inet\s+" 2> /dev/null ; then _found=true fi