1 (edited by llamberto 2022-05-17 21:42:26)

Topic: dovecot issue after update rocky linux from 8.5 to 8.6

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.5.2 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: rocky linux 8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx):nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi

after update rocky linux from 8.5 to 8.6  i have this error
mag 17 14:07:58 mail2clone.xx.it systemd[1]: Starting Dovecot IMAP/POP3 email server...
mag 17 14:07:58 mail2clone.xx.it systemd[1]: Started Dovecot IMAP/POP3 email server.
mag 17 14:07:58 mail2clone.xx.it dovecot[10072]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 408: Unknown setting: metric { event_name
mag 17 14:07:58 mail2clone.xx.it dovecot[10071]: doveconf: Error: managesieve-login: dump-capability process returned 89
mag 17 14:07:58 mail2clone.xx.it dovecot[10071]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 408: Unknown setting: metric { event_name
mag 17 14:07:58 mail2clone.xx.it systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a
mag 17 14:07:58 mail2clone.xx.it systemd[1]: dovecot.service: Failed with result 'exit-code'.

commenting this line in /etc/dovecot/dovecot.conf   dovecot can start

#metric imap_command_finished {
  #  event_name = imap_command_finished
#}

dovecot was 2.3.8 in RL 8.5 and  is 2.3.16 in 8.6   
i hve seen same issue for debian  in https://docs.iredmail.org/upgrade.debian.10-11.html

Is correct  delete that line in rocky linux too ?
Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: dovecot issue after update rocky linux from 8.5 to 8.6

llamberto wrote:

Is correct  delete that line in rocky linux too ?

Yes.