From 4b0975d4373fd89948c31cc0228e76e1b4c895d4 Mon Sep 17 00:00:00 2001 From: furstblumier <7149167+furstblumier@users.noreply.github.com> Date: Tue, 9 Apr 2024 14:14:02 +0200 Subject: [PATCH] fix warning --- .../examples/use-cases/external-relay-only-mailserver.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/content/examples/use-cases/external-relay-only-mailserver.md b/docs/content/examples/use-cases/external-relay-only-mailserver.md index 9b8fd615..9762c95e 100644 --- a/docs/content/examples/use-cases/external-relay-only-mailserver.md +++ b/docs/content/examples/use-cases/external-relay-only-mailserver.md @@ -88,8 +88,9 @@ maillog_file = /var/log/postfix.log Let's highlight some of the important parts. Remove any mentions of `mail.example.com` from `mydestination`, in fact you can just set localhost or nothing at all here. We want all the mail to be relayed. For good measure also disable `local_recipient_maps`. I'll skip over the TLS parts. You should use a proper certificate for `mail.example.com`. You can also harden your host as you want. Important are `transport_maps = hash:/etc/postfix/transport` and `relay_domains = $mydestination, hash:/etc/postfix/relay` which I will show in a second. Furthermore `mynetworks` should contain your VPN network. -!!! warning Open relay - Please be aware that setting `mynetworks` to a public CIDR will leave you with an open relay. **Only** set it to the CIDR of your VPN beyond the localhost ranges. +!!! warning "Open relay" + + Please be aware that setting `mynetworks` to a public CIDR will leave you with an open relay. **Only** set it to the CIDR of your VPN beyond the localhost ranges. Let's look at `/etc/postfix/transport`: ```txt