summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-03-29 03:32:31 +0000
committerGitHub <noreply@github.com>2022-03-29 03:32:31 +0000
commit0409745a9ddec01a7c4567d936adc95f84a08146 (patch)
treea6480a31618da25fde248fa96fe834875632dc6a
parentbb81d52537cf8015db95c15dacd4395ea1026549 (diff)
parent591e1b528e436d4659c76f664aa64d4c2f62bdff (diff)
Merge pull request #197 from SelfAdjointOperator/master
Reset umask to 0022 at beginning of install
-rwxr-xr-xemailwiz.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index 3c0d07f..a8caa66 100755
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -33,6 +33,9 @@
# On installation of Postfix, select "Internet Site" and put in TLD (without
# `mail.` before it).
+echo "Setting umask to 0022..."
+umask 0022
+
echo "Installing programs..."
apt install postfix dovecot-imapd dovecot-sieve opendkim spamassassin spamc
# Check if OpenDKIM is installed and install it if not.