Re: How do you combine rule for by URL and url_sub

2013-05-28 Thread Baptiste
hi Jeff, Please keep the ML in Cc, so everybody can benefit of the resolution. HAProxy returns a 503 when there is no server available in the farm. Please turn on haproxy stat socket and check the server status on it: it should be UP, but I guess it is DOWN for now. Baptiste On Tue, May 28,

Re: smtpchk when using proxy protocol

2013-05-28 Thread Baptiste
Hi Vit, You're right about HAProxy's smtp check. Furthermore, here is what the SMTP RFC says: Formally, a reply is defined to be the sequence: a three-digit code, SP, one line of text, and CRLF Your welcome banner doesn't follow the RFC. There may be some options in Postfix to set to change

Re: How do you combine rule for by URL and url_sub

2013-05-28 Thread Jeff Flesher
New to list, I take it I should have done a reply to all and make sure haproxy is in the list; I should remember this is a list, thanks. That did it; thanks, I just needed to restart monit; nothing to do with haproxy; my wthttpd service stopped; I understand what I did wrong; the last example

Re: How do you combine rule for by URL and url_sub

2013-05-28 Thread Baptiste
Hi Jeff, No worries about the ML :) I'm happy I could help you. Baptiste On Tue, May 28, 2013 at 8:45 AM, Jeff Flesher jeffrey.scott.fles...@gmail.com wrote: New to list, I take it I should have done a reply to all and make sure haproxy is in the list; I should remember this is a list,

Re: smtpchk when using proxy protocol

2013-05-28 Thread Viet Hoang
Hi Baptiste, My banner is normal indeed. I have checked with telnet and HAProxy without Proxy Protocol. Telnet directly: root@postfix01:~/postfix-2.10.0# telnet X.X.X.X 25 Trying X.X.X.X... Connected to X.X.X.X. Escape character is '^]'. 220 mail.mydomain.com ESMTP Postfix (Ubuntu) Connect

Re: smtpchk when using proxy protocol

2013-05-28 Thread Baptiste
Hi viet Your last chance is to capturethe check with tcpdump and send it back to me. Might be a bug, either in Haproxy or postfix. Baptiste Le 28 mai 2013 09:12, Viet Hoang vit...@gmail.com a écrit : Hi Baptiste, My banner is normal indeed. I have checked with telnet and HAProxy without

Re: smtpchk when using proxy protocol

2013-05-28 Thread Tom Lanyon
On 28/05/2013, at 6:58 PM, Baptiste bed...@gmail.com wrote: Your last chance is to capturethe check with tcpdump and send it back to me. Might be a bug, either in Haproxy or postfix. I remember digging into the latest 1.5 code and finding that check-send-proxy looked like it wouldn't work at

HTTP Request still gets response from the server with weight 0 and src persistence

2013-05-28 Thread Godbach
Hi, all It is expected that new http request will not get response from the server of which weight was changed to 0. It cannot work well with persistence on src but work well without the persistence in lastest snapshot. There are two servers in my backend, and persistence on src ip has been

Re: HTTP Request still gets response from the server with weight 0 and src persistence

2013-05-28 Thread Baptiste
Hi Godbach, Before reading HAProxy source code, it worths reading its configuration guide for the options you use. IE, the balance source algorithm would tell you that: This algorithm is static by default, which means that changing a server's weight on the fly will have no effect, but this can