How to configure SPF for my email domain hosted by DreamHost?

My domain’s email is hosted by DreamHost and all my emails from that domain are sent using DreamHost’s SMTP. How to configure the SPF record for my email domain hosted by DreamHost?

For a domain with email and SMTP hosted by DreamHost, you can set its SPF record to


Reference: What SPF records do I use? – DreamHost

Answered by Eric Z Ma.

Eric Z Ma

Eric is a father and systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

One comment:

  1. I just got an Undeliverable Mail failure that helpfully suggested “Please add a SPF record for the domain to your DNS or ask your Broadband Provider / Domain Registrar to do this.” FWIW DreamHost’s excellent customer support added a custom DNS TXT record for my domain containing

    v=spf1 ~all

    This matches your suggestion but for the ” ~all” on the end. From OpenSPF dot org’s SPF Record Syntax page I think it makes e-mail delivery from any other host a SoftFail.

    I also reported that your Reference link, “What SPF records do I use? – DreamHost” is a 404 and DreamHost lacks a replacement.

Leave a Reply

Your email address will not be published. Required fields are marked *