From 7c4e05e33b364e3b137248779574b40e2be6bbce Mon Sep 17 00:00:00 2001 From: Olivier Picquenot Date: Sat, 4 Sep 2021 11:29:56 +0200 Subject: [PATCH] docs: update tls termination setting with traefik (#2166) Had to explicitly configure traefik not to terminate the TLS session for SMTPS in order for the TLS and cipher to match postfix --- docs/content/examples/tutorials/mailserver-behind-proxy.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/content/examples/tutorials/mailserver-behind-proxy.md b/docs/content/examples/tutorials/mailserver-behind-proxy.md index d0ef93b3..6c9f4201 100644 --- a/docs/content/examples/tutorials/mailserver-behind-proxy.md +++ b/docs/content/examples/tutorials/mailserver-behind-proxy.md @@ -33,7 +33,7 @@ Feel free to add your configuration if you archived the same goal using differen version: '3.7' services: reverse-proxy: - image: traefik:v2.4 + image: traefik:latest container_name: docker-traefik restart: always command: @@ -60,7 +60,7 @@ Feel free to add your configuration if you archived the same goal using differen version: '2' services: mail: - image: mailserver/docker-mailserver:release-v7.2.0 + image: mailserver/docker-mailserver:latest restart: always networks: - proxy @@ -72,6 +72,7 @@ Feel free to add your configuration if you archived the same goal using differen - "traefik.tcp.services.smtp.loadbalancer.server.port=25" - "traefik.tcp.services.smtp.loadbalancer.proxyProtocol.version=1" - "traefik.tcp.routers.smtp-ssl.rule=HostSNI(`*`)" + - "traefik.tcp.routers.smtp-ssl.tls=false" - "traefik.tcp.routers.smtp-ssl.entrypoints=smtp-ssl" - "traefik.tcp.routers.smtp-ssl.service=smtp-ssl" - "traefik.tcp.services.smtp-ssl.loadbalancer.server.port=465"