add example to mkdocs

This commit is contained in:
furstblumier 2024-04-09 14:11:07 +02:00
parent 097289214d
commit 3641fa4317
No known key found for this signature in database
GPG Key ID: 2227382EB67D8969
2 changed files with 9 additions and 7 deletions

View File

@ -16,14 +16,15 @@ The following guide assumes you have a public server with a static IP on a hosti
We will briefly go through the DNS part of the setup. It's similar to the general recommended setup for all mailservers. Let's assume our public server has a public reachable IP address of `123.123.123.123` and the hostname `mail.example.com`. Set your A, MX and PTR records like you would for DMS.
```txt
$ORIGIN example.com
@ IN A 123.123.123.123
mail IN A 123.123.123.123
```txt
$ORIGIN example.com
@ IN A 123.123.123.123
mail IN A 123.123.123.123
; mail server for example.com
@ IN MX 10 mail.example.com.
```
; mail server for example.com
@ IN MX 10 mail.example.com.
```
And the associated PTR record. SPF records should also be setup as you normally would for `mail.example.com`.
## Public host postfix setup

View File

@ -180,6 +180,7 @@ nav:
- 'iOS Mail Push Support': examples/use-cases/ios-mail-push-support.md
- 'Lua Authentication': examples/use-cases/auth-lua.md
- 'Bind outbound SMTP to a specific network': examples/use-cases/bind-smtp-network-interface.md
- 'Use an external mailserver as inbound and outbound relay': examples/use-cases/external-relay-only-mailserver.md
- 'FAQ' : faq.md
- 'Contributing':
- 'General Information': contributing/general.md