If you add too many options in the DNS Options fields under a virtual server’s DNS Settings, then the created SPF record will be split into multiple quotes. If you go back to DNS Options, it will not read this correctly, and lop off characters.
Example: I have “include:mailgun.org”, but going back to DNS Options, it shows up as:
mailgun.or
The g in the end is missing. So the bug appears to be if the SPF record created is too long and requires multiple quotations. The UI interface for DNS Options does not appear to correctly read the DNS record, accessible via DNS Records UI. This appears to be a rather old bug as per forum, that was previously ignored.
To replicate, you need to add enough records in DNS Options to create a split TXT SPF record composed of multiple “quotations marks”.
Like I said in the OP, you need enough to trigger the separation of the TXT record into multiple strings. You only have one set of quotation marks there. Try a dozen entries until you have 2 or 3 sets of quotation marks in the actual record. Then the issue should crop up when you go back to DNS Options.
Wow, a dozen.
Ok I added a heap in there and see the break up.
Can you do a MXTOOL lookup on the SPF and see if its incorrect.
Virtualmin also breaks up the DKIM.
Could be a bug though.
I have seen MXTOOL complain about alot of lookups on SPF records.
Now that you see the break, hit “save” on the DNS Options screen. See what it does to the DNS record.
I was using MXToolbox and trying to fix the issues it raised with my SPF record, when I found the bug.
I ended up doing the record by hand, as DNS Options was breaking it. Figured I would report it though, since it’s obviously not intended to be broken. The issue seems to be in reading the multi-quotation record, less so in creating it originally. This means you cannot go back to DNS Options to update it as I was trying to do in response to the freedback from MXToolbox.