Skip Navigation

Scott Spence

posts tags speaking contact

Adding multiple SPF records with Vercel

1 min read

So, I just found that the SPF record on my Fastmail account for was throwing a verification error. I didn’t really know what the SPF record was for until this point and I had to research why it was failing on Fastmail.

So, I did a post the other week on Adding DKIM records to Vercel this is what I used to validate my domain for sending the newsletter. I just followed the directions and didn’t know that adding an additional SPF record would invalidate the previous one for Fastmail.

There’s a good explanation on the UK Government site for Email Security Standards with guidance on it. There was also a Stackoverflow post I found on it!

So, looking at the DNS entries on Vercel (with the Vercel CLI command vc dns, there’s two TXT records:

v=spf1 mx ~all
v=spf1 ?all

The Sendinblue one is first in the list so that one wins!

I had to remove both the records (with the Vercel CLI command vc rm rec_fromTheVercelCLIOutput) and replace them with a combined one:

vc dns add @ TXT 'v=spf1 ?all mx ~all'

That’s it! I hope this helps someone else out there!

Year to date analytics for this post

Visits This Year
Jan 1, 2023 - Feb 5, 2023
Unique Visitors This Year
Jan 1, 2023 - Feb 5, 2023
Total Views This Year
Jan 1, 2023 - Feb 5, 2023

Copyright © 2017 - 2023 - All rights reserved Scott Spence