Merge pull request #197 from SelfAdjointOperator/master

Reset umask to 0022 at beginning of install
This commit is contained in:
Luke Smith 2022-03-29 03:32:31 +00:00 committed by GitHub
commit 0409745a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,9 @@
# On installation of Postfix, select "Internet Site" and put in TLD (without # On installation of Postfix, select "Internet Site" and put in TLD (without
# `mail.` before it). # `mail.` before it).
echo "Setting umask to 0022..."
umask 0022
echo "Installing programs..." echo "Installing programs..."
apt install postfix dovecot-imapd dovecot-sieve opendkim spamassassin spamc apt install postfix dovecot-imapd dovecot-sieve opendkim spamassassin spamc
# Check if OpenDKIM is installed and install it if not. # Check if OpenDKIM is installed and install it if not.