Parcourir la source

Fixed a bug with installing opendkim (#1)

The main command for generating DKIM keys (`opendkim`) wasn't installed with just the `opendkim` package.  Added a fix so it would be installed should it not be there the first time `apt` is ran.
pull/13/head
pellertson il y a 4 ans
committed by GitHub
Parent
révision
30e2072783
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +2
    -0
      emailwiz.sh

+ 2
- 0
emailwiz.sh Voir le fichier

@@ -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"


Chargement…
Annuler
Enregistrer