feat: Add "Mail DNS Setup" page
This commit is contained in:
parent
e62eaa42cf
commit
1787d56bb7
29
content/posts/mail-dns-setup.md
Normal file
29
content/posts/mail-dns-setup.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
---
|
||||||
|
title: "Mail DNS Setup"
|
||||||
|
date: 2020-12-19T15:59:43+01:00
|
||||||
|
draft: false
|
||||||
|
---
|
||||||
|
|
||||||
|
Since I always struggle with DNS records for mailservers... here are some examples:
|
||||||
|
|
||||||
|
## DMARC
|
||||||
|
|
||||||
|
```
|
||||||
|
_dmarc TXT "v=DMARC1; p=none; rua=mailto:dmarc@domain.tld"
|
||||||
|
```
|
||||||
|
|
||||||
|
- **v** - version of DMARC (`DMARC1`)
|
||||||
|
- **p** - policy (`none`, `quarantine`, `reject`)
|
||||||
|
- **rua** - URI for agreggate reports (comma-separated)
|
||||||
|
- **ruf** - URI for failure reports (comma-separated)
|
||||||
|
|
||||||
|
## SPF
|
||||||
|
|
||||||
|
```
|
||||||
|
@ TXT "v=spf1 mx -all"
|
||||||
|
```
|
||||||
|
|
||||||
|
- **v** - version (`spf1`)
|
||||||
|
- **mx** - allow emails from servers specified in MX records
|
||||||
|
- **-all** - don't allow from everyone else
|
||||||
|
|
Loading…
Reference in a new issue