[Dovecot] Mongo backend for userdb and passdb

Damien Churchill damoxc at gmail.com
Wed Mar 20 12:59:50 EET 2013


On 20 March 2013 10:54, Timo Sirainen <tss at iki.fi> wrote:
> On Wed, 2013-03-20 at 10:40 +0000, Damien Churchill wrote:
>> On 20 March 2013 10:39, Timo Sirainen <tss at iki.fi> wrote:
>> > On Wed, 2013-03-20 at 10:29 +0000, Damien Churchill wrote:
>> >
>> >> I've been messing about with this and I think a similar configuration
>> >> format to the sql dict driver would be handy, although I imagine the
>> >> same could also be achieved with just lots of uri arguments. Mongo
>> >> isn't really a key/value store so you'd want to be able to specify
>> >> fields within the document to query upon/fetch.
>> >>
>> >> I'm still getting to grips with the architecture of things so not
>> >> entirely sure what the best course of action would be here. If using
>> >> the map style config would be desirable then creating some shared
>> >> parser that sql and mongodb can use would be good.
>> >
>> > I've been planning on having one generic dict sql-like configuration for
>> > all dict backends, so you could map different dict paths to different
>> > backends. So the idea is good, but probably quite a lot of work.
>> >
>>
>> Would it not be just some bastardised version of dict-sql-settings?
>
> I guess you could do that for now. The grand plans of how to put
> everything nicely together can wait. :)
>

For now I think I can get away with just tacking on uri arguments.
Seems silly duplicating effort, although if you'd like me to give it a
shot I'm happy to do so!


More information about the dovecot mailing list