Просмотр исходного кода

Use single-quotes to prevent interpolation when configuring Postfix

Unless you intend to interpolate, you should never use double-quotes. In
this instance, it was actually impactful -- `$myhostname` and
`$mydomain` were meant to be left as-is, referring to those Postfix
config parameters, but were accidentally interpolated and subsequently
generating nonsense (but not fatal) configuration.
pull/276/head
James Puleo 10 месяцев назад
Родитель
Сommit
513c338a3f
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 3E16C7EFA34FB15D
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      emailwiz.sh

+ 1
- 1
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"


Загрузка…
Отмена
Сохранить