Skip to content
Permalink
Browse files

Use ssl_protocols for Dovecot 2.2. Fixes #58.

  • Loading branch information...
april committed Sep 9, 2019
1 parent 9ca61f7 commit 342242c687861c94af9a2189961f16ffad1b9528
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/templates/partials/dovecot.hbs
@@ -10,7 +10,11 @@ ssl_dh = </path/to/dhparam.pem
{{/if}}

# {{form.config}} configuration
{{#if (minver "2.3.0" form.serverVersion)}}
ssl_min_protocol = {{output.protocols.[0]}}
{{else}}
ssl_protocols = {{join output.protocols " "}}
{{/if}}
{{#if output.ciphers.length}}
ssl_cipher_list = {{{join output.ciphers ":"}}}
{{/if}}

0 comments on commit 342242c

Please sign in to comment.
You can’t perform that action at this time.