On Tue, 2010-08-03 at 16:02 +1000, John O'Brien wrote:

> Have been looking through the documentation to see if it is possible to pass 
> parameters down to a plugin through the dovecot.conf

With v1.x anything in plugin {} section goes into environment, e.g.:

plugin {
  foo = bar
}

and with getenv("FOO") you get "bar". With v2.0 you'll need to use
mail_user_plugin_getenv(user, "foo").


Reply via email to