DNS
SPF Setup
Configure an SPF (Sender Policy Framework) DNS record to authorize Harbur to send email on behalf of your domain.
What is SPF?
SPF is a DNS TXT record that lists which mail servers are authorized to send email from your domain. Receiving servers check this record to detect spoofing. Without it, emails from Harbur may be marked as spam or rejected outright.
Add SPF Record
Add the following TXT record to your domain's DNS:
| Type | Host | Value |
|---|---|---|
TXT | @ | v=spf1 include:spf.harbur.dev ~all |
Existing SPF record?
If you already have an SPF record, add
include:spf.harbur.dev to it rather than creating a second TXT record. Only one SPF record per domain is allowed.If you already have an SPF record
Merge the include into your existing record:
Before
v=spf1 include:sendgrid.net ~allAfter (merged)
v=spf1 include:sendgrid.net include:spf.harbur.dev ~allVerify SPF
After adding the record, wait for DNS propagation (usually 5–30 minutes), then verify from the Harbur dashboard under Settings → Domains → {your-domain} → DNS Status.
Or use the command line:
bash
dig TXT yourdomain.com | grep spf