1
0
Fork 0
mirror of https://github.com/lukesmithxyz/emailwiz synced 2024-04-24 10:55:11 +02:00

Merge pull request #230 from WilliamBehrens/master

use apt-get to install packages
This commit is contained in:
Luke Smith 2022-08-04 01:31:02 +00:00 committed by GitHub
commit f552787e7b
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

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"