frontend ft_imap bind :143 bind :993 mode tcp tcp-request connection set-dst-port dst_port,add(10000) default_backend bk_imap
backend bk_imap mode tcp balance leastconn stick store-request src stick-table type ip size 200k expire 30m server s1 backend.example.com send-proxy-v2
-----Original Message----- From: dovecot dovecot-bounces@dovecot.org On Behalf Of Marc Sent: Saturday, 9 October 2021 12:54 To: dovecot@dovecot.org Cc: Siavash Tavakoli siavash.tavakoli@open-xchange.com; Aki Tuomi aki.tuomi@open-xchange.com Subject: RE: haproxy config manual update for multiple ports
would you mind updating the haproxy config on https://wiki2.dovecot.org/HAProxy
now you have the normal ports without proxy protocol and high ports with proxy, easier with testing.
frontend ft_imap bind :143 bind :993 mode tcp tcp-request connection set-dst-port dst_port,add(10000) default_backend bk_imap
backend bk_imap mode tcp balance leastconn stick store-request src stick-table type ip size 200k expire 30m server s1 backend.example.com:10143 send-proxy-v2
-----Original Message----- From: Marc Sent: Thursday, 7 October 2021 11:51 To: 'dovecot@dovecot.org' dovecot@dovecot.org Subject: haproxy config manual update for multiple ports
https://wiki2.dovecot.org/HAProxy
Maybe update this to having multiple ports (if this is even possible)
frontend ft_imap bind :110 << bind :143 mode tcp default_backend bk_imap
backend bk_imap mode tcp balance leastconn stick store-request src stick-table type ip size 200k expire 30m server s1 backend.example.com:10143 send-proxy-v2 <<< how to put more ports here?