Userdb's and IMAP proxying

Thomas HUMMEL hummel at pasteur.fr
Mon Dec 15 14:23:11 UTC 2014


Hello Timo,

In order to plan a migration, I want to setup an IMAP proxy (proxy_maybe) with
a dovecot server (I'm running the old dovecot-2.1.15 but I could upgrade or use a proxy
only dovecot-2.2.x server)/LDAP pass et userdb's.

I'm won't be in charge of the migration itself but I think the idea will be to
migrate a chunk of users each night and then let the proxy send them to the new
server.

I wonder if, instead of altering my LDAP schema to be able to add the needed
attributes (matching proxy/proxy_maybe, host, ...) I could use a second userdb
(preferably in a file : passwd-file ?) only for those extra_fields (i.e. the
second userdb would extend the LDAP one). As a matter of fact, I guess those
who will migrate users will prefer writing to a file than to add some LDAP
attribute in the user entry.

In other words, can I get different extra_fields for the same user in different
userdb's ?

-- 
Thomas Hummel 	    | Institut Pasteur
<hummel at pasteur.fr> | Groupe Exploitation et Infrastructure


More information about the dovecot mailing list