[Dovecot] Passing Arguments to Plugin
3 Aug
2010
3 Aug
'10
9:02 a.m.
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
3 Aug
3 Aug
3:24 p.m.
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").
5226
Age (days ago)
5226
Last active (days ago)
1 comments
2 participants
participants (2)
-
John O'Brien
-
Timo Sirainen