Greetings I have been installed dovecot-0.99.10.6 in my FreeBSD 4.10 with WITH_MYSQL=1 , but when I try to configure it to use mysql.conf file: auth_userdb = mysql /usr/local/etc/dovecot-mysql.conf auth_passdb = mysql /usr/local/etc/dovecot-mysql.conf the program gives me the next error: dovecot: Jul 13 10:49:03 Info: Dovecot starting up dovecot-auth: Jul 13 10:49:04 Fatal: Unknown userdb type 'mysql' dovecot: Jul 13 10:49:04 Error: Auth process died too early - shutting down dovecot: Jul 13 10:49:04 Error: child 13659 (auth) returned error 89 Somebody knows why? What I'm doing wrong? It's possible to use MySQL with dovecot in a FreeBSD? Thanks a lot in advanced. -- _____________________ http://www.cdmon.com ?dominios a 9,95 euros? ?servidores DNS p?blicos? ?se han vuelto locos?
On Tue, 2004-07-13 at 12:00, cdmon.com wrote:> dovecot-auth: Jul 13 10:49:04 Fatal: Unknown userdb type 'mysql'> Somebody knows why? What I'm doing wrong? It's possible to use MySQL with > dovecot in a FreeBSD?That means MySQL support wasn't compiled in. You probably didn't have the MySQL libraries/headers installed, at least in a place where Dovecot's configure could have found them. Check if config.log says something about mysql. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040713/5d4d3fb0/attachment-0001.bin>
cdmon.com wrote:> I have been installed dovecot-0.99.10.6 in my FreeBSD 4.10 with > WITH_MYSQL=1 , but when I try to configure it to use mysql.conf file: > auth_userdb = mysql /usr/local/etc/dovecot-mysql.conf > auth_passdb = mysql /usr/local/etc/dovecot-mysql.conf > > the program gives me the next error: > dovecot: Jul 13 10:49:03 Info: Dovecot starting up > dovecot-auth: Jul 13 10:49:04 Fatal: Unknown userdb type 'mysql' > dovecot: Jul 13 10:49:04 Error: Auth process died too early - shutting down > dovecot: Jul 13 10:49:04 Error: child 13659 (auth) returned error 89 > > Somebody knows why? What I'm doing wrong? It's possible to use MySQL with > dovecot in a FreeBSD?As Timo pointed out, the error occurs because dovecot has been compiled without MySQL support. I'm afraid this is likely due to a bug in my port. Apply the following patch, and try again: --- Makefile.old Mon Jun 21 18:56:28 2004 +++ Makefile Tue Jul 13 18:05:16 2004 @@ -93,7 +93,7 @@ # .if defined(WITH_MYSQL) USE_MYSQL= yes -CONFIGURED_ARGS+= --with-mysql +CONFIGURE_ARGS+= --with-mysql .endif pre-build: I've had reports that MySQL support may still be broken, but let me know how you get on. I will fix this bug in the ports tree with the release of 0.99.10.7. I'm also working on a dovecot-devel port to cover the 1.0-test releases, if anyone is interested in testing it, contact me. - Robin