[Dovecot] userdb multiple databases

Timo Sirainen tss at iki.fi
Thu Aug 23 23:03:00 EEST 2012


On 20.8.2012, at 11.33, Angel L. Mateo wrote:

> 	I'm trying to configure per user plugins. My original passdb and userdb is in a ldap directory (using userdb with prefetch).
> 
> 	To configure per user plugins (in fact, I want to enable quota plugin for some users) I need to configure mail_plugins attribute in the userdb.
> 
> 	The problem is that I don't know any ldap attribute to store this information (is there any schema with includes an attribute for this). So I want to configure it in a passwd-file file.
> 
> 	My problem is that I don't know if I can chain userdb databases. I know I can configure multiple databases, but as far as I know, they are looked in order, so if the user is found in the first one, then is no look for the user in the second one, so I have to configure all user's attributes in the passwd-file database.

Correct.

> 	Is there any way to chain these lookups?

No. You could generate the passwd-file based on data in LDAP.




More information about the dovecot mailing list