[Dovecot] Re: FreeBSD and MySQL error
Robin Breathe
robin+dovecot at isometry.net
Tue Jul 13 21:09:20 EEST 2004
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
More information about the dovecot
mailing list