diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-06-07 10:01:28 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-06-07 10:01:28 -0400 |
commit | 5ec89693aaa39e0316cfce41b2677248e927bfae (patch) | |
tree | c9affedffb833c80c384f146a15c8df8c255d21b | |
parent | 3c9f6ab5d0e98c6106bc579c75b579d5db76bf90 (diff) | |
parent | 004bf2dbfb76bcff3f16c166fe520556870fff9e (diff) |
Merge branch 'master' of github.com:LukeSmithxyz/emailwiz
-rwxr-xr-x | emailwiz.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emailwiz.sh b/emailwiz.sh index 0c5eb30..4fefa74 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -55,7 +55,7 @@ postconf -e "home_mailbox = Mail/Inbox/" echo "Configuring Postfix's master.cf..." -sed -i "/^\s*o/d;/^\s*submission/d;/^\s*smtp/d" /etc/postfix/master.cf +sed -i "/^\s*-o/d;/^\s*submission/d;/^\s*smtp/d" /etc/postfix/master.cf echo "smtp unix - - n - - smtp smtp inet n - y - - smtpd @@ -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 |