summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2023-05-01 11:08:07 +0000
committerGitHub <noreply@github.com>2023-05-01 11:08:07 +0000
commita85e4230757ecff8c5adaf0587b329c0bfe720fe (patch)
tree658ea83fea91af36a0a5ee3c5b9edc10ee84eb44
parent5c7426b1c34334bec0c001a83494128944434474 (diff)
parent513c338a3f8c150c9c9aeda95da897ef7e1ae095 (diff)
Merge pull request #276 from drunderscore/fix/use-single-quotes-to-prevent-interpolation
Use single-quotes to prevent interpolation when configuring Postfix
-rw-r--r--emailwiz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index 472a549..3f05b98 100644
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -57,7 +57,7 @@ echo "Configuring Postfix's main.cf..."
postconf -e "myhostname = $maildomain"
postconf -e "mail_name = $domain" #This is for the smtpd_banner
postconf -e "mydomain = $domain"
-postconf -e "mydestination = $myhostname, $mydomain, mail, localhost.localdomain, localhost, localhost.$mydomain"
+postconf -e 'mydestination = $myhostname, $mydomain, mail, localhost.localdomain, localhost, localhost.$mydomain'
# Change the cert/key files to the default locations of the Let's Encrypt cert/key
postconf -e "smtpd_tls_key_file=$certdir/privkey.pem"