[Dovecot] LDAP for passdb and SQL for userdb

Bambero
2013-10-02T13:49:16Z

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