Re: BUG-Report: mysql: SSL support not compiled in (remove ssl_client_ca_file and ssl_client_ca_dir settings) third attempt!

Timo Sirainen via dovecot <[email protected]> Thu, 2 Apr 2026 12:33:31 +0300
Newsgroups gmane.mail.imap.dovecot
Message-ID <[email protected]>
On 2. Apr 2026, at 12.14, Klaus Tachtler via dovecot <[email protected]> wrote:
> 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.

By default auth process runs as default_internal_user = dovecot user. Maybe mariadb library gives "not found" error instead of the correct "permission denied" error. Try changing its owner to dovecot, or setting service auth { user=root }

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]