2 Commits

Author SHA1 Message Date
  Luke Smith f552787e7b
Merge pull request #230 from WilliamBehrens/master 1 year ago
  William Behrens dd889ffeef
use apt-get to install packages 1 year ago
1 changed files with 2 additions and 2 deletions
Split View
  1. +2
    -2
      emailwiz.sh

+ 2
- 2
emailwiz.sh View File

@@ -37,9 +37,9 @@ echo "Setting umask to 0022..."
umask 0022

echo "Installing programs..."
apt install postfix postfix-pcre dovecot-imapd dovecot-sieve opendkim spamassassin spamc
apt-get install postfix postfix-pcre dovecot-imapd dovecot-sieve opendkim spamassassin spamc
# Check if OpenDKIM is installed and install it if not.
which opendkim-genkey >/dev/null 2>&1 || apt install opendkim-tools
which opendkim-genkey >/dev/null 2>&1 || apt-get install opendkim-tools
domain="$(cat /etc/mailname)"
subdom=${MAIL_SUBDOM:-mail}
maildomain="$subdom.$domain"


Loading…
Cancel
Save