modoboa-installer icon indicating copy to clipboard operation
modoboa-installer copied to clipboard

dovecot: doveconf: Warning: Obsolete setting in /etc/dovecot/conf.d/10-ssl.conf:45: ssl_protocols has been replaced by ssl_min_protocol

Open almereyda opened this issue 3 years ago • 0 comments

Impacted versions

  • Distribution: Ubuntu
  • Codename: Focal Fossa
  • Arch: 64 Bits
  • Database: PostgreSQL

Steps to reproduce

  1. Install the base system
  2. Install Modoboa

Actual behavior

The current template for 10-ssl.conf will produce a line that reads similar to

ssl_protocols = !SSLv3

depending on the system's OpenSSL version.

https://github.com/modoboa/modoboa-installer/blob/33a909a264d2f4d816a5a2c4130f6cbb647f8e4a/modoboa_installer/scripts/dovecot.py#L61-L63

https://github.com/modoboa/modoboa-installer/blob/33a909a264d2f4d816a5a2c4130f6cbb647f8e4a/modoboa_installer/scripts/files/dovecot/conf.d/10-ssl.conf.tpl#L44

When starting the service, /var/log/dovecot.log displays:

May  3 20:58:31 email dovecot: doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf
May  3 20:58:31 email dovecot: doveconf: Warning: Obsolete setting in /etc/dovecot/conf.d/10-ssl.conf:45: ssl_protocols has been replaced by ssl_min_protocol
May  3 20:58:32 email dovecot: config: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf
May  3 20:58:32 email dovecot: config: Warning: Obsolete setting in /etc/dovecot/conf.d/10-ssl.conf:45: ssl_protocols has been replaced by ssl_min_protocol

Expected behavior

Dovecot is configured with ssl_min_protocol = TLSv1.2.

Also see:

almereyda avatar May 03 '21 22:05 almereyda