Selaa lähdekoodia

just remove the line, don't add comments

pull/91/head
kgskgs 3 vuotta sitten
vanhempi
commit
3440ad8188
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. +1
    -2
      emailwiz.sh

+ 1
- 2
emailwiz.sh Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna