An SPF (Sender Policy Framework) record tells receiving mail servers which servers are authorized to send email for your domain. Setting it up correctly reduces the chance of your emails being marked as spam.
Step 1 — Check if you already have an SPF record
- Log in to cPanel.
- Under Email, click Email Deliverability.
- Find your domain in the list and click Manage.
- cPanel will show you whether your SPF record is valid, missing, or needs repair.
Step 2 — Let cPanel fix it automatically (recommended)
- In the Email Deliverability screen, if your SPF record shows a warning, click Repair.
- cPanel will automatically create the correct SPF record for your server.
Step 3 — Add the SPF record manually (if needed)
- In cPanel, go to Domains → Zone Editor.
- Click Manage next to your domain.
- Click Add Record and select TXT.
- Set the Name field to your domain (e.g. yourdomain.com).
- Set the TTL to 14400.
- In the Record field, enter:
v=spf1 include:b2b-server.net ~all - Click Save Record.
Important: You should only have one SPF record per domain. If one already exists, edit it instead of adding a new one. Multiple SPF records will break email delivery.
After saving, allow up to 24 hours for the record to propagate. You can verify it at https://mxtoolbox.com/spf.aspx.