https://bugs.exim.org/show_bug.cgi?id=2018

Phil Pennock <p...@exim.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p...@exim.org

--- Comment #10 from Phil Pennock <p...@exim.org> ---
I can reproduce and am investigating further.  I have exim on my laptop and
haproxy on my laptop, setup such that:

daemon_smtp_ports = 25 : 465 : 466 : 587 : 588
tls_on_connect_ports = 465 : 466
hosts_proxy = <; ${if forany{466:588}{=={$received_port}{$item}} {127.0.0.1 ;
::1}{}}

and for proxy testing, I start Exim with `-oX 127.0.0.1` and run:

  sudo haproxy -f haproxy.conf -db -d

with an haproxy configuration of:

frontend ft_smtp_submission
  bind 0.0.0.0:587
  mode tcp
  no option http-server-close
  timeout client 1m
  log global
  option tcplog
  default_backend bk_exim_submission

backend bk_exim_submission
  mode tcp
  no option http-server-close
  log global
  option tcplog
  timeout server 1m
  timeout connect 5s
  server exim 127.0.0.1:588 send-proxy

frontend ft_smtp_tlsonconnect
  bind 0.0.0.0:465
  mode tcp
  no option http-server-close
  timeout client 1m
  log global
  option tcplog
  default_backend bk_exim_tlsonconnect

backend bk_exim_tlsonconnect
  mode tcp
  no option http-server-close
  log global
  option tcplog
  timeout server 1m
  timeout connect 5s
  server exim 127.0.0.1:466 send-proxy

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to