[Dovecot] Extra plugins vía extrafield in ldap

Antonio Perez-Aranda aperezaranda at yaco.es
Tue Jun 14 18:38:28 EEST 2011


Maybe this could be a "feature request" for dovecot 2.0.14 - 2.0.15 or 2.1 ?

2011/6/9 Antonio Perez-Aranda <aperezaranda at yaco.es>:
> This patch fix a bug and remove some debug info from patch sent before.
>
> 2011/6/9 Antonio Perez-Aranda <aperezaranda at yaco.es>:
>> This patch is running but it only run with mail_plugins.
>>
>> This is because I can't select the "mail_plugins" value from any
>> function to get this throw the name key.
>>
>> Maybe this need more hard development to do this as generic "property"
>> for any config value.
>>
>> 2011/6/9 Antonio Perez-Aranda <aperezaranda at yaco.es>:
>>> Well, this "extrange" vaues is NULL.
>>>
>>> Maybe, the set_parser is a new environment to set settings but then
>>> ¿when is make the config merge?
>>>
>>> 2011/6/9 Antonio Perez-Aranda <aperezaranda at yaco.es>:
>>>> This line:
>>>>
>>>> value = settings_parse_get_value(set_parser, key, &type);
>>>>
>>>> Is returning a empty value. Maybe, set_parser has been cleared?
>>>>
>>>> If I try to get another keys from my config that I can watch with
>>>> doveadm I get "extrange" values like this with i_debug()
>>>>
>>>>  * mail_debug -> #001
>>>>  * mail_location -> #010
>>>>  * auth_realms -> #020#002
>>>>
>>>>
>>>> 2011/6/8 Antonio Perez-Aranda <aperezaranda at yaco.es>:
>>>>> It must run on dovecot 2.0.13?
>>>>>
>>>>> We are upgrading to 2.0.13 and with this I get the follow message:
>>>>>
>>>>> Jun  8 16:15:03 kvm3 dovecot: imap: Debug: Unknown userdb setting:
>>>>> +mail_plugins=fts fts_solr�G
>>>>>
>>>>>
>>>>> 2011/6/7 Timo Sirainen <tss at iki.fi>:
>>>>>> On Tue, 2011-06-07 at 16:16 +0200, Antonio Perez-Aranda wrote:
>>>>>>> Greats, I'm working on patch from this morning, but it's very hard to
>>>>>>> debug on settings-parser
>>>>>>
>>>>>> I don't think you should need to touch that code. It's a bit difficult
>>>>>> for me also to follow..
>>>>>>
>>>>>>> How can I enable i_debug on settings-parser.c ?
>>>>>>
>>>>>> What do you mean? You could add i_debug() calls and it should work just
>>>>>> the same as everywhere.
>>>>>>
>>>>>> Did you try the patch in my previous mail? I think that should be
>>>>>> enough. You could then use:
>>>>>>
>>>>>> user_attrs = .., mailPlugins=+mail_plugins
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Antonio Pérez-Aranda Alcaide
>>>>> aperezaranda at yaco.es
>>>>>
>>>>> Yaco Sistemas S.L.
>>>>> http://www.yaco.es/
>>>>> C/ Rioja 5, 41001 Sevilla
>>>>> Teléfono +34 954 50 00 57
>>>>> Fax      +34 954 50 09 29
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Antonio Pérez-Aranda Alcaide
>>>> aperezaranda at yaco.es
>>>>
>>>> Yaco Sistemas S.L.
>>>> http://www.yaco.es/
>>>> C/ Rioja 5, 41001 Sevilla
>>>> Teléfono +34 954 50 00 57
>>>> Fax      +34 954 50 09 29
>>>>
>>>
>>>
>>>
>>> --
>>> Antonio Pérez-Aranda Alcaide
>>> aperezaranda at yaco.es
>>>
>>> Yaco Sistemas S.L.
>>> http://www.yaco.es/
>>> C/ Rioja 5, 41001 Sevilla
>>> Teléfono +34 954 50 00 57
>>> Fax      +34 954 50 09 29
>>>
>>
>>
>>
>> --
>> Antonio Pérez-Aranda Alcaide
>> aperezaranda at yaco.es
>>
>> Yaco Sistemas S.L.
>> http://www.yaco.es/
>> C/ Rioja 5, 41001 Sevilla
>> Teléfono +34 954 50 00 57
>> Fax      +34 954 50 09 29
>>
>
>
>
> --
> Antonio Pérez-Aranda Alcaide
> aperezaranda at yaco.es
>
> Yaco Sistemas S.L.
> http://www.yaco.es/
> C/ Rioja 5, 41001 Sevilla
> Teléfono +34 954 50 00 57
> Fax      +34 954 50 09 29
>



-- 
Antonio Pérez-Aranda Alcaide
aperezaranda at yaco.es

Yaco Sistemas S.L.
http://www.yaco.es/
C/ Rioja 5, 41001 Sevilla
Teléfono +34 954 50 00 57
Fax      +34 954 50 09 29


More information about the dovecot mailing list