[Dovecot] MySQL patch + Debian

David S. Madole david at madole.net
Mon Nov 17 07:14:46 EET 2003


> Problem is that dovecot-auth says "Unknown userdb type 'mysql'" and an
> ldd of /src/auth/dovecot-auth shows no libmysqlclient10:
> Anyone know what I'm missing?

Don't know for sure what you're missing, but did you
include -DPASSDB_MYSQL -DUSERDB_MYSQL when building?

If it helps, I use the following when building mine and it works fine:

AUTH_CFLAGS="-I/usr/local/include/mysql -DPASSDB_MYSQL -DUSERDB_MYSQL" \
AUTH_LIBS="-L/usr/local/lib/mysql -lmysqlclient" \
\
./configure \
  --prefix= \
  --disable-ipv6 \
  --with-ssldir=/etc \
  --with-storages=maildir \
  --without-passwd \
  --without-passwd-file \
  --without-static \
  --without-pam \
\
&& make



More information about the dovecot mailing list