On Mo, 12 Sep 2011, Timo Sirainen wrote:
On Fri, 2011-09-09 at 12:21 +0200, Lutz Preßler wrote:
Second question: Is there a way to include multiple imapc instances/ namespaces with e.g. different destinations servers? I don't see how because imapc_* parameters seem to be global (now), but it would be a very useful feature.
I don't really understand. You're already returning per-user imapc namespace from userdb. What's missing? One local dovecot user, multiple remote IMAP servers included in different namespaces.
I think you should be able to return e.g. "namespace=ns1 ns2" and then return namespaces for namespace/ns1/* and namespace/ns2/*. Now _I_ don't really understand ;-). This is necessary, yes, but how do I set different remote parameters (imapc_host, imapc_user, ...) for each one?
Lutz