[Dovecot] Get plugins configuration in dovecot 2.0

Pascal Volk user+dovecot at localhost.localdomain.org
Wed Mar 31 00:33:49 EEST 2010


On 03/30/2010 10:34 PM Alex Baule wrote:
> In 1.X to get configuration Timo said.
> 
> In v1.x they're in environment variables. So if you have:
> 
> plugin {
>  foo = bar
> }
> 
> getenv("FOO") returns "bar".
> 
> But, in 2.0 ?!
> 
> getenv dont work....


is src/lib-storage/mail-user.h:98 mail_user_plugin_getenv() what you are
looking for?


Regards,
Pascal
-- 
The trapper recommends today: beeffeed.1008923 at localdomain.org


More information about the dovecot mailing list