2 Commits

Author SHA1 Message Date
  Luke Smith a85e423075
Merge pull request #276 from drunderscore/fix/use-single-quotes-to-prevent-interpolation 1 year ago
  James Puleo 513c338a3f
Use single-quotes to prevent interpolation when configuring Postfix 1 year ago
1 changed files with 1 additions and 1 deletions
Split View
  1. +1
    -1
      emailwiz.sh

+ 1
- 1
emailwiz.sh View File

@@ -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"


Loading…
Cancel
Save