On 11/16/2012 4:43 PM, Pascal Volk wrote:
On 11/16/2012 11:21 PM Chuck Cochems wrote:
…
I need to return both the IP and the email address as a string to drop
it into the old code.
…
You could check the code of the `doveadm who` command
<http://wiki2.dovecot.org/Tools/Doveadm/Who>. It
On 11/16/2012 4:43 PM, Pascal Volk wrote:
On 11/16/2012 11:21 PM Chuck Cochems wrote:
…
I need to return both the IP and the email address as a string to drop
it into the old code.
…
You could check the code of the `doveadm who` command
<http://wiki2.dovecot.org/Tools/Doveadm/Who>. It
On 11/16/2012 11:53 AM, Pascal Volk wrote:
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: ge
I have found a plugin at
ftp://ftp.ufanet.ru/pub/boco/dovecot/whoson-plugin/
I was able to make it function on a dovecot 1.2.8 server, by changing
__attr_unused__ to ATTR_UNUSED and strlcpy to i_strocpy (since glibc
doesn't HAVE strlcpy, on purpose).
However, it doesn't work with 2.1
this i