summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaesp <44760628+Laesp@users.noreply.github.com>2020-07-14 15:33:45 -0400
committerGitHub <noreply@github.com>2020-07-14 15:33:45 -0400
commit0560bf087b53e5298e48b641369668d51168fc7b (patch)
treed5b9c28ca26930f15dead21672e9bd587a7ff7e4
parentab2a2f0d89da5229b71fec573a1f20a8d8e3d44a (diff)
Minor change for dovecot.conf to work on v2.3
According to the wiki (https://wiki.dovecot.org/SSL/DovecotConfiguration): "From version 2.3, you must specify path to DH parameters file using: ssl_dh=</path/to/dh.pem" This actually threw an error something along the lines of: "imap-login: Error: Failed to initialize SSL"
-rwxr-xr-xemailwiz.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index 7565ba1..af3ff66 100755
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -125,6 +125,7 @@ echo "# Dovecot config
ssl = required
ssl_cert = <$certdir/fullchain.pem
ssl_key = <$certdir/privkey.pem
+ssl_dh = </usr/share/dovecot/dh.pem
# Plaintext login. This is safe and easy thanks to SSL.
auth_mechanisms = plain login