On 18.11.2012, at 18.04, Chuck Cochems wrote:

> 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 shows both, the user
>> name and the IP address.
> 
> That's not much better...
> 
> I just want the bare minimum of code to do this. The 1.x code was so simple, 
> and i just want a 2.0 equivalent. is that so wrong? :)  WHy the heck did they 
> remove those incredibly useful environment variables anyway?

Because a single process can now handle multiple connections with different 
IPs/usernames.

Reply via email to