vmail user permissions to dovecot-sql.conf

Yesterday I upgraded another mailserver to Debian 13, and the latest ISPConfig from my own stable branch.

Afterwards I noticed that a small helper script that runs under the vmail user no longer worked.

Which boils down to:

vmail@mail:~$ doveadm 
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 26: Couldn't open include file /etc/dovecot/dovecot-sql.conf: Permission denied

The permissions on dovecot-sql.conf don't seem to have changed, root:root mode 0600 .. but now dovecot includes that file from dovecot.conf. Where in the past it was loaded inside a specific block

passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql

The quick solution for now is: chown :vmail /etc/dovecot/dovecot-sql.conf chmod g+r /etc/dovecot/dovecot-sql.conf

Which could be made permanent in https://git.ispconfig.org/ispconfig/ispconfig3/-/blob/develop/install/lib/installer_base.lib.php#L1775