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
ip4andip6address ranges;includeof another domain's SPF record, followed as deep as it goes, within the ten-lookup limit;- a final
-all,~allor?all.
What your own record must look like
- Every include and address range before
allmust allow sending. A-,~or?in front of one of them (for example~include:or-ip4:) isn't supported. - It must not end in
+allor a bareall, 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,ptrandexistsmechanisms; - the
redirectandexpmodifiers; - 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.