Re: [Dovecot] 'doveadm who' enhancement request

2010-06-04 Thread Timo Sirainen
On ke, 2010-06-02 at 21:44 -0700, Brandon Davidson wrote: Also another thought :) I guess you have now two login services for imap and pop3, one for proxy and one for backend? No, just the one for each right now. I haven't figured out how to do that yet ;) Just multiple

[Dovecot] 'doveadm who' enhancement request

2010-06-02 Thread Brad Davidson
When Dovecot is in proxy mode, the client sends along the original connection endpoints in an ID command. Is there any chance 'doveadm who' could use this to display the original connection source? As it currently stands, all I see is a bunch of connections from the proxy. Thanks! --- Brandon

Re: [Dovecot] 'doveadm who' enhancement request

2010-06-02 Thread Timo Sirainen
On 2.6.2010, at 23.34, Brad Davidson wrote: When Dovecot is in proxy mode, the client sends along the original connection endpoints in an ID command. Is there any chance 'doveadm who' could use this to display the original connection source? As it currently stands, all I see is a bunch of

Re: [Dovecot] 'doveadm who' enhancement request

2010-06-02 Thread Brad Davidson
Timo, Is there any chance 'doveadm who' could use this to display the original connection source? If login_trusted_networks contains proxies, I think it should already do that?.. Interesting. I'd tried putting the private network in login_trusted_networks but it got stuck in a loop until

Re: [Dovecot] 'doveadm who' enhancement request

2010-06-02 Thread Timo Sirainen
On 3.6.2010, at 1.20, Brad Davidson wrote: Interesting. I'd tried putting the private network in login_trusted_networks but it got stuck in a loop until the director process ran out of file handles, so I took it back out. This is probably a little weird in that it's proxying to itself, and

Re: [Dovecot] 'doveadm who' enhancement request

2010-06-02 Thread Brad Davidson
-Original Message- From: Timo Sirainen [mailto:t...@iki.fi] .. password_query = SELECT null AS password, 'Y' AS nopassword, 'Y' AS proxy WHERE '%{lip}' NOT LIKE '10.142.0.%%' AND '%{lip}' != '%{rip}' This query no longer works, because both lip and rip are replaced with the

Re: [Dovecot] 'doveadm who' enhancement request

2010-06-02 Thread Timo Sirainen
On 3.6.2010, at 1.46, Brad Davidson wrote: I know I'm trying to shoehorn the director into an infrastructure it's not really meant for. A better choice would probably be to bring a new dedicated director online in either location, and put those behind the load balancer. I wonder if they can

Re: [Dovecot] 'doveadm who' enhancement request

2010-06-02 Thread Brandon Davidson
On 6/2/10 7:33 PM, Timo Sirainen t...@iki.fi wrote: I wonder if they can stand up to 10k+ concurrent proxied connections though? I'd think so. I could probably give that a try, but I'll have a hard time convincing folks to do that until after 2.0 has out of beta for a bit. Maybe after summer