DMARC lets you define how receiving servers should handle emails from your domain if SPF or DKIM authentication fails.
Before setting up DMARC, make sure that SPF and DKIM are already configured and published on your domain.
Once SPF and DKIM are in place, you can publish a DMARC TXT record.
It should look something like this:
_dmarc.monnomdedomaine.fr TXT "v=DMARC1; p=none
DMARC supports three types of policies:
- Policy=none => no instructions are given to the receiving server
- Policy=quarantine => a spam classification instruction is given to the receiving server
- Policy=reject => a rejection instruction is given to the receiving server
You can choose the policy that best fits your needs by adjusting the "p=" parameter in your DMARC record.
If you wish, you can also receive DMARC reports.
You will need an email address (rua) to receive these reports.
Below is an example of a DMARC record:
_dmarc.monnomdedomaine.fr TXT "v=DMARC1; p=none; rua=mailto:dmarc@ monnomdedomaine.fr"