Re: PROXY protocol

2015-08-26 Thread Nikolaos Milas
On 25/8/2015 11:13 μμ, Timo Sirainen wrote: Can we "stamp" log entries originating from different listeners with a configurable label? Added: http://hg.dovecot.org/dovecot-2.2/rev/a919414e68d2 Thank you Timo! I am sure this feature will be helpful to all us poor sysadmins :-) Cheers,

Re: PROXY protocol

2015-08-25 Thread Timo Sirainen
On 25 Aug 2015, at 20:31, Nikolaos Milas wrote: > > On 22/8/2015 2:56 μμ, Nikolaos Milas wrote: > >> Can we "stamp" log entries originating from different listeners with a >> configurable label? > > Hello, > > I haven't received any reply on it. Is it possible or not? Added: http://hg.doveco

Re: PROXY protocol

2015-08-25 Thread Nikolaos Milas
On 22/8/2015 2:56 μμ, Nikolaos Milas wrote: Can we "stamp" log entries originating from different listeners with a configurable label? Hello, I haven't received any reply on it. Is it possible or not? Thanks, Nick

Re: PROXY protocol

2015-08-24 Thread Nikolaos Milas
On 24/8/2015 3:29 πμ, Tim Groeneveld wrote: Have you come across any issues after enabling the haproxy on the inet_listeners? Would love to hear if everything is still going OK. I would love to throw a similar configuration into production. Hi Tim, The configuration I described works fine i

Re: PROXY protocol

2015-08-23 Thread Tim Groeneveld
Hey Nikolaos, On Sat, 22 Aug 2015 21:56:17 +1000 Nikolaos Milas wrote > ...and everything seems to be working fine. Obviously, the proxy sends > requests to different ports. For example, requests received by the proxy > at port 993 are sent to dovecot's port 23003 etc. Have y

Re: PROXY protocol

2015-08-22 Thread Nikolaos Milas
On 22/8/2015 2:56 μμ, Nikolaos Milas wrote: One final (I hope) question: I would like to see in dovecot logs which requests come from the proxy. Can we "stamp" log entries originating from different listeners with a configurable label? I noticed that dovecot log entries retain the proxy ip ad

Re: PROXY protocol

2015-08-22 Thread Nikolaos Milas
On 22/8/2015 10:38 πμ, Stephan Bosch wrote: Why are you putting this in the auth service? That makes no sense. Sorry for my ignorance. This needs to be put in the services that you want to enable the haproxy protocol for. For pop and imap those are the login sevices pop3-login and imap-login

Re: PROXY protocol

2015-08-22 Thread Stephan Bosch
Op 8/21/2015 om 1:31 PM schreef Nikolaos Milas: > On 20/8/2015 11:09 μμ, Nikolaos Milas wrote: > >> As soon as I manage to re-build Dovecot with the latest snapshot, >> I'll test it! > > Hello, > > I've built dovecot with a today snapshot from hg > (dovecot-2-2-9f815e781beb) and I am trying to ena

Re: PROXY protocol

2015-08-21 Thread Nikolaos Milas
On 20/8/2015 11:09 μμ, Nikolaos Milas wrote: As soon as I manage to re-build Dovecot with the latest snapshot, I'll test it! Hello, I've built dovecot with a today snapshot from hg (dovecot-2-2-9f815e781beb) and I am trying to enable haproxy. I configured as follows (lines added compared

Re: PROXY protocol

2015-08-20 Thread Nikolaos Milas
On 20/8/2015 10:35 πμ, Tim Groeneveld wrote: # This is a list of trusted networks... ips are seperated by ", " # default, empty haproxy_trusted_networks = 10.1.2.0/24, 10.2.1.0/24 # This is the timeout... in seconds. # default, 3 # haproxy_timeout = 3 # modify your inet listener's to include h

Re: PROXY protocol

2015-08-20 Thread Tim Groeneveld
Hey Niko, On Thu, 20 Aug 2015 16:55:42 +1000 Nikolaos Milas wrote > I hope you will be able to provide some basic guidelines on how to > enable/use the new functionality. (I am not very code-literate.) Looking through the code, the functionality should not be too hard to enable

Re: PROXY protocol

2015-08-19 Thread Nikolaos Milas
On 19/8/2015 5:43 μμ, Stephan Bosch wrote: Well... http://hg.dovecot.org/dovecot-2.2/rev/4d7a83ddb644 Regards, Stephan. That was impressive! Thank you Timo and Stephan. You are superb! I hope you will be able to provide some basic guidelines on how to enable/use the new functionality. (

Re: PROXY protocol

2015-08-19 Thread Stephan Bosch
Op 19-8-2015 om 16:36 schreef Nikolaos Milas: On 12/1/2015 10:29 μμ, Francisco Wagner C. Freire wrote: +1 On Fri, Jan 9, 2015 at 3:49 PM, Hoggins! wrote: Hello folks, Any plans on implementing the PROXY protocol to allow Dovecot being behind a TCP proxy, and still logging the real IP add

Re: PROXY protocol

2015-08-19 Thread Nikolaos Milas
On 12/1/2015 10:29 μμ, Francisco Wagner C. Freire wrote: +1 On Fri, Jan 9, 2015 at 3:49 PM, Hoggins! wrote: Hello folks, Any plans on implementing the PROXY protocol to allow Dovecot being behind a TCP proxy, and still logging the real IP address of the users ? See : http://blog.haproxy.com

Re: PROXY protocol

2015-01-12 Thread Francisco Wagner C. Freire
+1 On Fri, Jan 9, 2015 at 3:49 PM, Hoggins! wrote: > Hello folks, > > Any plans on implementing the PROXY protocol to allow Dovecot being > behind a TCP proxy, and still logging the real IP address of the users ? > See : http://blog.haproxy.com/haproxy/proxy-protocol/ > > Thanks ! > >