[Dovecot] Problem with configuring dovecot to take namespaces from database

Timo Sirainen tss at iki.fi
Mon Sep 12 13:21:58 EEST 2011


On Fri, 2011-09-09 at 13:24 +0200, Marcin Mirosław wrote:
> Ok, maybe could it be possible to do it in other way:
> --------------------------------------------------------------------
> |user_id | namespace_full_definition                               |
> --------------------------------------------------------------------
> | 7684   | /name=test1/prefix=test1./location=mdbox:~/test1/.mdbox/
>                name=test2/prefix=test2/location=...                 | 
> --------------------------------------------------------------------
> 
> but this isn't supported by dovecot as i know.

Not exactly like that, but you should be able to have a field called
"userdb_import" that contains data like:

namespace=n1 n2<TAB>namespace/n1/prefix=blah.<TAB>etc. other fields

The <TAB>s would of course have to be actual tab characters.





More information about the dovecot mailing list