Articles in this section

Dovecot warnings in mail log: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf

Plesk for Linux kb: technical

Symptoms

  • The mail log /var/log/maillog contains warnings:

    CONFIG_TEXT: May 4 12:13:47 server99 dovecot: config: Warning: Obsolete setting in /etc/dovecot/conf.d/11-plesk-security-ssl.conf:2: ssl_protocols has been replaced by ssl_min_protocol
    May 4 12:13:47 server99 dovecot: doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf
    May 4 12:13:47 server99 dovecot: doveconf: Warning: Obsolete setting in /etc/dovecot/conf.d/11-plesk-security-ssl.conf:2: ssl_protocols has been replaced by ssl_min_protocol
    May 4 12:13:47 server99 dovecot: config: Warning: NOTE: You can get a new clean config file with doveconf -Pn > dovecot-new.conf
    May 4 12:13:47 server99 dovecot: config: Warning: Obsolete setting in /etc/dovecot/conf.d/11-plesk-security-ssl.conf:2: ssl_protocols has been replaced by ssl_min_protocol

Cause

The Dovecot configuration contains an obsolete SSL version directive. The ssl_protocols directive has been replaced with ssl_min_protocol in new versions of Dovecot but is still present in the configuration.

Resolution

  1. Connect to the server via SSH

  2. Open the file /etc/dovecot/conf.d/11-plesk-security-ssl.conf in any text editor (For example, vi editor)

  3. Find the ssl_protocols line and comment it, for example:

    CONFIG_TEXT: ssl_protocols = TLSv1 TLSv1.1 TLSv1.2

    Should become:

    CONFIG_TEXT: #ssl_protocols = TLSv1 TLSv1.1 TLSv1.2

  4. Restart Dovecot:

    # systemctl restart dovecot

Was this article helpful?

Comments

1 comment
Date Votes
  • @basketball stars Interesting tip on generating a new clean config file with doveconf! I appreciate the insight. Have you tried implementing this command before?

    0

Please sign in to leave a comment.