[exim-dev] [Bug 2018] proxy protocol is not supported on smt…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 2018] proxy protocol is not supported on smtps (direct SSL/TLS) connections
https://bugs.exim.org/show_bug.cgi?id=2018

Phil Pennock <pdp@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pdp@???


--- Comment #10 from Phil Pennock <pdp@???> ---
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.