summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xemailwiz.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index cd42e76..ff39ac2 100755
--- 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"