summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-06-07 10:01:13 -0400
committerGitHub <noreply@github.com>2019-06-07 10:01:13 -0400
commit004bf2dbfb76bcff3f16c166fe520556870fff9e (patch)
tree1e055356db7287f8d2ebea5ade316fa4f766deeb
parent493fbd2f73d056ab61fb66b92daf5e2c842d6fb7 (diff)
parentdb265994ac7c81bebab86b6d0d59e8b7f9cf86c4 (diff)
Merge pull request #7 from ayoung012/master
prevent false detection of opendkim KeyTable config
-rwxr-xr-xemailwiz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index 44dba4e..4fefa74 100755
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -177,7 +177,7 @@ grep "127.0.0.1" >/dev/null 2>&1 /etc/postfix/dkim/trustedhosts ||
1.2.3.4/24" >> /etc/postfix/dkim/trustedhosts
# ...and source it from opendkim.conf
-grep KeyTable /etc/opendkim.conf >/dev/null || echo "KeyTable file:/etc/postfix/dkim/keytable
+grep ^KeyTable /etc/opendkim.conf >/dev/null || echo "KeyTable file:/etc/postfix/dkim/keytable
SigningTable refile:/etc/postfix/dkim/signingtable
InternalHosts refile:/etc/postfix/dkim/trustedhosts" >> /etc/opendkim.conf