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