Skip to main content

doveconf: Fatal: Error in configuration file - after upgrade last night to v100.0.2

Comments

6 comments

  • andrew.n
    Looks like this is the primary issue: Nov 09 07:42:56 our.server.com dovecot[23211]: doveconf: Error: Could not find a minimum ssl_min_protocol setting from ssl_protocols = !SSLv2 !SSLv3: Unrecognized protocol 'SSLv2' Nov 09 07:42:56 our.server.com dovecot[23211]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 392: Time interval '30' is missing units (add e.g. 's' for seconds) Nov 09 07:42:56 our.server.com systemd[1]: dovecot.service: main process exited, code=exited, status=89/n/a Instead of editing the file manually can you do this from WHM under Mailserver configuration? and apply the settings from there.
    0
  • cPanelAnthony
    Thanks for your assist, Andrew!
    0
  • Joel Williams
    I just had the same error too. On closer inspection, it looks like /scripts/builddovecotconf is generating a config from the /var/cpanel/templates/dovecot2.2/ templates rather than 2.3, so the resulting configuration was invalid for dovecot. I've restored dovecot.conf from backup, but really hope that this won't happen again the next time the configuration is rebuilt!
    0
  • cPanelAnthony
    I just had the same error too. On closer inspection, it looks like /scripts/builddovecotconf is generating a config from the /var/cpanel/templates/dovecot2.2/ templates rather than 2.3, so the resulting configuration was invalid for dovecot. I've restored dovecot.conf from backup, but really hope that this won't happen again the next time the configuration is rebuilt!

    Can you confirm which operating system and cPanel version this is on?
    0
  • Joel Williams
    Can you confirm which operating system and cPanel version this is on?

    Thanks cPanelAnthony! It is running CentOS v7.9.2009 virtuozzo, v100.0.3. I also opened support request #94384356. Your colleague in cPanel support has identified the root cause - for some reason /var/cpanel/conf/dovecot/main and /var/cpanel/conf/dovecot/main.cache contained this attribute: _use_target_version: '2.2'
    This should be changed to 2.3, or perhaps removed entirely. Rebuilding the config will then use the correct templates. It's not at all clear why this suddenly became a problem today though, since the main file hadn't been changed for many years.
    0
  • cPanelAnthony
    Thank you for this update! It's very useful to have this information.
    0

Please sign in to leave a comment.