From ee21027c6f1877e5a5d9ebd0c4f6fe4256799b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LY=EF=BC=88=E9=80=80=E7=BD=91/offline=EF=BC=89?= <51789698+Young-Lord@users.noreply.github.com> Date: Tue, 17 Sep 2024 13:13:10 +0800 Subject: [PATCH] docs(tls): add note for `no_tls_hosts` for outbound --- docs/plugins/tls.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/plugins/tls.md b/docs/plugins/tls.md index bda3da7c4..cc46ab111 100644 --- a/docs/plugins/tls.md +++ b/docs/plugins/tls.md @@ -109,6 +109,14 @@ If needed, add this section to the `config/tls.ini` file and list any IP ranges 172.16.0.0/16 ``` +Note: `[no_tls_hosts]` section applies to inbound only. For outbound mail, this feature is implemented as an array like `force_tls_hosts`: + +```ini +[outbound] +no_tls_hosts[]=192.168.1.3 +no_tls_hosts[]=172.16.0.0/16 +``` + The [Node.js TLS](http://nodejs.org/api/tls.html) page has additional information about the following options. ### no_starttls_ports