[Dovecot] whoson plugin for 2.0

Pascal Volk user+dovecot at localhost.localdomain.org
Fri Nov 16 20:53:27 EET 2012


On 11/16/2012 04:27 AM Chuck Cochems wrote:
>> this is, of course, because getenv() no longer functions lie it used to 
> in plugins.
> 
> so i need a replacement for getenv("IP") and getenv("USER") to make this 
> work.

AFAIR: getenv was replaced by mail_user_plugin_getenv

,--[ lib-storage/mail-user.h ]--
| /* If name exists in plugin_envs, return its value. */
| const char *mail_user_plugin_getenv(struct mail_user *user, const char *name);
`--


Regards,
Pascal
-- 
The trapper recommends today: cafefeed.1232119 at localdomain.org



More information about the dovecot mailing list