Displaying 3 results from an estimated 3 matches for "smtpchk".
2015 Aug 20
2
PROXY protocol
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. (I am not very code-literate.)
Looking forward to it!
Thanks again!
2015 Aug 20
0
PROXY protocol
...is the timeout... in seconds.
# default, 3
# haproxy_timeout = 3
# modify your inet listener's to include haproxy=yes
inet_listener {
haproxy = yes
}
As for HAProxy, the configuration would look something like this:
listen smtp :25
mode tcp
option tcplog
option smtpchk
balance roundrobin
server smtp1 ip.of.server1:25 check-send-proxy check inter 10s send-proxy
server smtp2 ip.of.server2:25 check-send-proxy check inter 10s send-proxy
Regards,
Tim
2015 Oct 13
1
Dovecot - Postfix with HAproxy
...2:2.2.19 (>= 2.2.19 pour proxy protocol)
haproxy : 1.5.14
postfix : 2.11.2-1 (>2.10 pour postscreen)
A part of my configuration :
##HAPROXY
#postfix
listen smtp
bind mail.xx.xx:465
balance roundrobin
timeout client 1m
timeout connect 5s
no option http-server-close
mode tcp
option smtpchk
option tcplog
server tst tst.xxx:10465 send-proxy
server tst2 tst2.xxx:10465 send-proxy
server tst3 tst3.xxx:10465 send-proxy
#dovecot
listen imap
bind mail.xxx.xx:993
timeout client 1m
no option http-server-close
balance leastconn
stick store-request src
stick-table type ip size 200k expire 30m
m...