Hi,
I’ve been troubleshooting my email setup for almost a week. I’ve successfully set up sending email via relay (Google blocks port 25) using Mailjet. But since day one I haven’t been able to login into rainloop or receive any emails. I’ve tried every configuration I could find, until I realised the reason nothing works is that dovecot can’t access the mysql database because of a driver issue:
auth: Fatal: sql: Unknown database driver ‘mysql’
I’ve run dovecot --build-options and mysql, postgre and sqlite are all listed as drivers.
I’ve tried apt-get install dovecot-mysql but that refuses to budge because of dependencies. This GCP deployment seems to use Mariadb.
I should add that I’ve spun up a fresh instance of Cyberpanel and it’s broken like this for me out of the box, giving the same error about the mysql driver.
I have tried to reinstall dovecot with an apt-get install dovecot-mysql and it refuses because of a dependency issue with a libmysql–etc. which doesn’t exist, presumably, because mariadb is what’s really installed.
The version I was showing was: 2.3.10.1 (a3d0e1171).
I removed everything like you said and reinstalled. I had to be a bit more specific about the pkg removal though, I had to specify dovecot-core, dovecot-mysql, dovecot-pop3d and dovecot-imapd and lo and behold we’ve moved past the ‘mysql’ driver error.