Hi Timo,
I tried out the mariadb.patch you sent. While it fixed the original issue, BUT there is a problem with the configuration parameter:
ssl_client_key_file = /etc/dovecot/ssl/private/wildcard.idmz.tachtler.net.key.pem
dovecot[9510]: auth: Error: mysql(db.idmz.tachtler.net): Connect failed to database (postfixadmin): File '/etc/dovecot/ssl/private/wildcard.idmz.tachtler.net.key.pem' not found (Errcode: -280287320) - waiting for 1 seconds before retry
5 times inside the log.
However, the file does exist:
ls -la /etc/dovecot/ssl/private/wildcard.idmz.tachtler.net.key.pem
-r-------- 1 dovecot dovecot 1703 Feb 27 09:55 /etc/dovecot/ssl/private/wildcard.idmz.tachtler.net.key.pem
I had already set the ownership to root:root, but the key file is still not found, even though it's definitely there.
I hope there’s a solution to this problem as well.
Thank you in advance,
Best regards, Klaus.
On 4/1/26 14:32, Timo Sirainen wrote:
On 1. Apr 2026, at 10.23, Klaus Tachtler via dovecot <dovecot@dovecot.org> wrote:
An error occurs, while trying to establish a TLS/SSL secured connection to a database (mariadb), which has the ability to accept TLS/SSL connections.
..
It took quite some debugging, but adding the following hack before the autoreconf call appears to make it work: checking for mysql_ssl_set in -llibmariadb... no
Can you verify if the attached patch works?
--