[Dovecot] Get plugins configuration

Timo Sirainen tss at iki.fi
Tue Feb 9 20:11:23 EET 2010

On Tue, 2010-02-09 at 14:33 -0200, Alex Baule wrote:
> There is a way to get configurations in dovecot.conf inside a plugin ?

In v1.x they're in environment variables. So if you have:

plugin {
  foo = bar

getenv("FOO") returns "bar".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100209/60e25273/attachment.bin 

More information about the dovecot mailing list