Bug 56544 - dovecot TLS config: renamed option ssl_protocols → ssl_min_protocol
Summary: dovecot TLS config: renamed option ssl_protocols → ssl_min_protocol
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: Mail - Dovecot
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.1
Assignee: Sönke Schwardt-Krummrich
QA Contact: Florian Best
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-05 20:49 CEST by Florian Best
Modified: 2025-05-12 13:12 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2025051221000132
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2023-09-05 20:49:26 CEST
The dovecot configuration needs to be adjusted:
    The option ssl_protocols has been replaced by the option
    ssl_min_protocol. In UCS 5.0 SSLv2 and SSLv3 were disabled
    by default. In UCS 5.2 by using the new option and therefore
    also a new UCR variable, the default for the minimum protocol
    has been raised to TLSv1.2.
Comment 2 Florian Best univentionstaff 2023-10-06 13:50:01 CEST
We have to mention in the release notes that the UCR variable mail/dovecot/ssl/protocols was changed into mail/dovecot/ssl/min_protocol with changed default:
-Default=!SSLv2 !SSLv3
+Default=TLSv1.2
Comment 3 Florian Best univentionstaff 2023-10-11 12:57:14 CEST
ssl_min_protocol exists since dovecot 2.3: https://doc.dovecot.org/installation_guide/upgrading/from-2.2-to-2.3/
It shows the warning but still starts:
doveconf: Warning: Obsolete setting in /etc/dovecot/conf.d/10-ssl.conf:62: ssl_protocols has been replaced by ssl_min_protocol

In UCS 5.0 we already have dovecot 2.3. There it shows already:
doveconf: Warning: Obsolete setting in /etc/dovecot/conf.d/10-ssl.conf:61: ssl_protocols has been replaced by ssl_min_protocol
doveconf: Error: Could not find a minimum ssl_min_protocol setting from ssl_protocols = !SSLv2 !SSLv3: Unrecognized protocol 'SSLv2'

→ I will therfore cherry-pick the changes to UCS 5.1.
Comment 4 Florian Best univentionstaff 2023-10-11 13:00:08 CEST
OK: config change
OK: new default
OK: new UCR variable is mentioned in release notes
OK: changelog entry
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2023-10-11 13:44:24 CEST
(In reply to Florian Best from comment #2)
> We have to mention in the release notes that the UCR variable
> mail/dovecot/ssl/protocols was changed into mail/dovecot/ssl/min_protocol
> with changed default:
> -Default=!SSLv2 !SSLv3
> +Default=TLSv1.2

We should clearly state, that the TLS versions 1.0 and 1.1 are no longer supported with default settings as of UCS 5.2.
Comment 6 Florian Best univentionstaff 2024-03-08 11:02:34 CET
univention-mail-dovecot (7.0.3)
5e03eed3c5a2 | fix(dovecot): replace option ssl_protocols with ssl_min_protocol