Help

Which SPF records Mailtonic can host

The parts of an SPF record Mailtonic can flatten today, and what happens when yours uses something else.

Mailtonic flattens your sending services' SPF records into address ranges and publishes them behind one include. To do that safely it needs to know exactly which addresses each record allows, so it supports the parts of SPF that list addresses directly.

What Mailtonic can flatten

  • ip4 and ip6 address ranges;
  • include of another domain's SPF record, followed as deep as it goes, within the ten-lookup limit;
  • a final -all, ~all or ?all.

What your own record must look like

  • Every include and address range before all must allow sending. A -, ~ or ? in front of one of them (for example ~include: or -ip4:) isn't supported.
  • It must not end in +all or a bare all, because that lets any server pass SPF.

Not supported yet

Records that use any of these can't be hosted yet, whether in your own record or in a service you include:

  • the a, mx, ptr and exists mechanisms;
  • the redirect and exp modifiers;
  • macros, such as %{i}, which change depending on the sending server.

Setup tells you which part of which record is the problem before anything is saved, and nothing on your domain changes. Often the sending service publishes an alternative include you can use instead; check its documentation or ask its support team.

Size limits

Some services list so many addresses, or include so many other records, that they can't be followed safely. When that happens the domain page says which service is too large, and your last working version stays in place.

You can see how many lookups any domain's record uses, and where they come from, with the SPF lookup checker.