Hi, is reverse proxying mail traffic possible with openlitespeed?
setup:
(1) openlitespeed reverse proxy on 10.0.0.200 with the following setup:
--external app: [Type: Webserver] [Name: "WebiconMailServer25"] [address: 10.0.0.203:25]
--rewrite Rule:
rewriteCond %{SERVER_PORT} ^25$
RewriteRule ^/(.*)$ http://WebiconMailServer25/$1 [P,L]
--listeners on 10.0.0.200 are set up to listen on port 25,465,993, router port forwarding for these ports is set up to pass traffic on these ports to 10.0.0.200
---> the smae above rewrite and external app combo is also set up for ports 465 and 993 as well
(2) Backend mail client (iredmail using postfix) sitting on 10.0.0.203.
problem: that setup does not seem to work and mails are not delivered nor picked up. The mail client iredmail works as it all works if I route from my router directly to 10.0.0.203 (themail server) but not if I try to go via the reverse proxy. Testing connections from 10.0.0.200 --> 10.0.0.203 via "openssl s_client -connect 10.0.0.203:465 -starttls smtp" gives me a "Connected" fine. so connections seem to work fine in general between the 2 servers (reverse proxy and mail client).
am I missing something or is reverse proxying mail traffic with openlitespeed not possible?
setup:
(1) openlitespeed reverse proxy on 10.0.0.200 with the following setup:
--external app: [Type: Webserver] [Name: "WebiconMailServer25"] [address: 10.0.0.203:25]
--rewrite Rule:
rewriteCond %{SERVER_PORT} ^25$
RewriteRule ^/(.*)$ http://WebiconMailServer25/$1 [P,L]
--listeners on 10.0.0.200 are set up to listen on port 25,465,993, router port forwarding for these ports is set up to pass traffic on these ports to 10.0.0.200
---> the smae above rewrite and external app combo is also set up for ports 465 and 993 as well
(2) Backend mail client (iredmail using postfix) sitting on 10.0.0.203.
problem: that setup does not seem to work and mails are not delivered nor picked up. The mail client iredmail works as it all works if I route from my router directly to 10.0.0.203 (themail server) but not if I try to go via the reverse proxy. Testing connections from 10.0.0.200 --> 10.0.0.203 via "openssl s_client -connect 10.0.0.203:465 -starttls smtp" gives me a "Connected" fine. so connections seem to work fine in general between the 2 servers (reverse proxy and mail client).
am I missing something or is reverse proxying mail traffic with openlitespeed not possible?