Haproxy SMTP loadbalancer + authentication + real sender IP in log ?

2010-11-26 Thread jayesh shinde
Hi  , I am trying to configure the HAProxy for SMTP load balancing.  The same has been configure on my local server as follows , below are the content of the /etc/haproxy.cfg listen smtp 192.168.30.195:25     mode tcp     option tcplog     balance roundrobin     server smtp1

Re: Haproxy SMTP loadbalancer + authentication + real sender IP in log ?

2010-11-26 Thread Guillaume Bourque
Hi, why dont you create 2 MX record for the smtp hostname that you put on your desktop youre desktop will get 1 of the 2 mx record (ip 192.168.30.196 or 192.168.30.197) this is all in the SMTP protocol no need for haproxy to do this. Then all your log in postfix will show clients IP and au

load patterns from a file

2010-11-26 Thread Sebastien Estienne
Hello, When using the option '-if' in ACL, the specified file should be in the same directory as haproxy? Is there some special rights to set on the file or on the folder? Sebastien Estienne

Re: load patterns from a file

2010-11-26 Thread bartavelle
On 11/26/2010 05:34 PM, Sebastien Estienne wrote: > Hello, > > When using the option '-if' in ACL, the specified file should be in > the same directory as haproxy? > Is there some special rights to set on the file or on the folder? > > Sebastien Estienne I have noticed it needs to be in the curr

Log parts of POST data ?

2010-11-26 Thread Damien Hardy
Hi there, Is there any chance that I could log a part of the data in a POST request. I want to do some asynchronous stats (with mongodb) against Http log files. getting GET parameters from uri is easy. But it's quite hard to get POST parameter (even the N first char for example). Haproxy is able

Re: Log parts of POST data ?

2010-11-26 Thread Hervé COMMOWICK
Maybe we need something like "capture request body" with similar argument as "http-check expect" Hervé. On Fri, 26 Nov 2010 17:59:43 +0100 Damien Hardy wrote: > Hi there, > > Is there any chance that I could log a part of the data in a POST > request. > > I want to do some asynchronous stats