Setting up the SPF

The SPF (Sender Policy Framework) is a system used to avoid not allowed servers to send emails on behalf of your domain. This system implements rules that verify if the server has a particular policy set up by the domain’s admin.

Check for more information on the Sender Policy Framework Introduction.

Editing the SPF

All includes should be set up to add a new SPF. Here is an example of an SPF on VTEX:

v=spf1 a mx ip4:192.0.2.32/27 include:server.com include:amazonses.com -all

See the example below to understand the change:

Before

v=spf1 include:websitewelcome.com include:_spf.google.com ~all

After

v=spf1 include:websitewelcome.com include:_spf.google.com include:amazonses.com ~all

🚧

It should not exist duplicated entries, or even mixed with other values, to avoid possible validation errors.

Verifying the SPF

To verify the SPF entries on your domain, we recommend using the DIG tool. You can check the online version on the Dig web interface.

To consult the verification, you need to:

  1. Fill your domain in hostnames or IP addresses.
  2. Select TXT as Type.
  3. Click on Dig.

📘

The modifications are impacted by the domain propagation time. This can take between 24 or 48 hours to reflect the changes.

Here is a consult example using the VTEX domain:

10031003

Did this page help you?