[Dovecot] LDAP for passdb and SQL for userdb

Bambero bambero at gmail.com
Wed Oct 2 16:49:16 EEST 2013


Hello

Is it possible to setup double backend ? ldap for auth only and SQL for
userdb information(quota,maildir etc) ?

Now I'm using SQL backend and configuration looks like this:

passdb {
 driver = sql
 args = /etc/dovecot/dovecot-sql.conf
}

userdb {
 driver = prefetch
}

userdb {
 driver = sql
 args = /etc/dovecot/dovecot-sql.conf
}

Can I do something like:

passdb {
 driver = sql
 args = /etc/dovecot/dovecot-ldap.conf
}

userdb {
 driver = prefetch
}

userdb {
 driver = sql
 args = /etc/dovecot/dovecot-sql.conf
}

Should I leave:

userdb {
 driver = prefetch
}

Bambero


More information about the dovecot mailing list