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: -all

See the example below to understand the change:


v=spf1 ~all


v=spf1 ~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:


Did this page help you?