commit be2b5313272731029e545f7550ea50b63ded909d
parent 6d387ab15c774bb8b7a034db48857573ec6bad15
Author: Luke Smith <luke@lukesmith.xyz>
Date: Tue, 3 Sep 2019 06:11:36 -0400
Merge pull request #13 from pellertson/master
Make sure the opendkim tools are installed
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/emailwiz.sh b/emailwiz.sh
@@ -17,6 +17,8 @@
echo "Installing programs..."
apt install postfix dovecot-imapd opendkim spamassassin spamc
+# Install another requirement for opendikm only if the above command didn't get it already
+[ -e $(which opendkim-genkey) ] || apt install opendkim-tools
domain="$(cat /etc/mailname)"
subdom="mail"
maildomain="$subdom.$domain"