> For the complete documentation index, see [llms.txt](https://docs.stoik.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stoik.io/cyber-best-practices/nl/verhard-uw-omgeving/email-authentication/what-is-spf-and-how-do-i-configure-it.md).

# Wat is SPF en hoe configureer ik het?

## SPF-definitie

Sender Policy Framework (SPF) is een e-mailbeveiligingsprotocol dat wordt gebruikt om spam en e-mailspoofing tegen te gaan.

Specifiek stelt SPF een domein (bijv. yoursite.com) in staat om in zijn DNS-records aan te geven welke servers geautoriseerd zijn om namens het domein e-mails te verzenden. Wanneer een mailserver een e-mail ontvangt die beweert van yoursite.com afkomstig te zijn, controleert hij of de verzendende server op deze geautoriseerde lijst staat.

Als je bijvoorbeeld Gmail gebruikt of een dienst zoals Mailchimp om je e-mails te verzenden, zal je SPF-record zeggen: "Alleen servers van Gmail of Mailchimp mogen e-mails namens mijn domein verzenden."

## Configuratie

Ga naar `Externe scan` > `Resultaten` > `Configuratie en reputatie` om je SPF-gegevens te vinden.

<figure><img src="/files/ac6fb95494ab6b6b5e1df0c78e0683184f84de2a" alt=""><figcaption></figcaption></figure>

Klik vervolgens op `Alles bekijken` onderaan de pagina: je vindt er verkeerd geconfigureerde domeinen, evenals installatiehandleidingen, afhankelijk van of je Google of Microsoft gebruikt.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.stoik.io/cyber-best-practices/nl/verhard-uw-omgeving/email-authentication/what-is-spf-and-how-do-i-configure-it.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
