Guys, Making progress on my plugin to support the custom IMAP command required by a special embedded system. Have been looking through the documentation to see if it is possible to pass parameters down to a plugin through the dovecot.conf So is there a simple way? Regards, John
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.confWith 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").