瀏覽代碼

just remove the line, don't add comments

pull/91/head
kgskgs 4 年之前
父節點
當前提交
3440ad8188
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      emailwiz.sh

+ 1
- 2
emailwiz.sh 查看文件

@@ -117,7 +117,7 @@ spamassassin unix - n n - - pipe
dovecot_v="$(dovecot --version | cut -d '.' -f1-2)"
dovecot_dh="ssl_dh = </usr/share/dovecot/dh.pem"

[ ${dovecot_v%.*} -eq 2 ] && [ ${dovecot_v#*.} -lt 3 ] || [ ${dovecot_v%.*} -lt 2 ] && dovecot_dh="#$dovecot_dh"
[ ${dovecot_v%.*} -eq 2 ] && [ ${dovecot_v#*.} -lt 3 ] || [ ${dovecot_v%.*} -lt 2 ] && dovecot_dh=""

echo "Creating Dovecot config (v $dovecot_v)..."

@@ -132,7 +132,6 @@ echo "# Dovecot config
ssl = required
ssl_cert = <$certdir/fullchain.pem
ssl_key = <$certdir/privkey.pem
# You have to add ssl_dh if your Dovecot version is 2.3 or greater!
$dovecot_dh
# Plaintext login. This is safe and easy thanks to SSL.
auth_mechanisms = plain login


Loading…
取消
儲存