Skip to content

Commit

Permalink
Merge pull request mozilla#268 from mozilla/fix/dovecot-dh-version
Browse files Browse the repository at this point in the history
Fix Dovecot v2.3.3+ DH config
  • Loading branch information
gstrauss authored Oct 17, 2024
2 parents e73ce8a + 8a9ae11 commit 66667fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/templates/partials/dovecot.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ssl = required
ssl_cert = </path/to/signed_cert_plus_intermediates
ssl_key = </path/to/private_key
{{#if output.usesDhe}}
{{#if (minver "2.3.3" form.serverVersion)}}
{{else if (minver "2.3.0" form.serverVersion)}}

{{#if (minver "2.3.0" form.serverVersion)}}
# {{output.dhCommand}} > /path/to/dhparam
ssl_dh = </path/to/dhparam
{{else}}
Expand All @@ -23,4 +23,4 @@ ssl_protocols = {{join output.protocols " "}}
{{#if output.ciphers.length}}
ssl_cipher_list = {{{join output.ciphers ":"}}}
{{/if}}
ssl_prefer_server_ciphers = {{#if output.serverPreferredOrder}}yes{{else}}no{{/if}}
ssl_prefer_server_ciphers = {{#if output.serverPreferredOrder}}yes{{else}}no{{/if}}

0 comments on commit 66667fa

Please sign in to comment.