Introduction #
Sender Policy Framework (SPF) records are essential for reducing the chance of your domain being spoofed in spam messages. They also enhance the deliverability of emails to external providers like Gmail and Outlook. This guide will show you how to add SPF records to your domain name.
Importance of SPF Records #
SPF records help verify that emails sent from your domain are indeed from authorized servers. StackCP maintains an SPF record that is kept up to date with all IP addresses used to transmit email from our network. This ensures that any email sent from our services passes an SPF check. By default, all newly provisioned hosting packages will have an SPF record for StackMail added automatically.
How to Add SPF Records Manually #
To manually add SPF records, follow these steps:
Step 1: Access DNS Management #
- For Domains Registered with CP CLOUD HOSTING
- Log in to your StackCP account.
- Navigate to
Manage Domains.
- For Domains Not Registered with CP CLOUD HOSTING
- If the domain is assigned to a hosting package, go to
Manage Hosting. - Select the relevant package and click on
Manage DNS.
- If the domain is assigned to a hosting package, go to
Step 2: Add the SPF Record #
- Locate the Inputs for New Records
- Towards the bottom of the
Manage DNSpage, you will see three inputs to add new records.
- Towards the bottom of the
- Enter SPF Record Details
- Name Field: Leave it blank.
- Type: Select
TXT. - Data: Enter
v=spf1 include:spf.stackmail.com a mx -all.
- Save the Changes
- Click
Saveto apply the changes.
- Click
Your domain is now protected by an SPF record. This record can be used for all domains utilizing our mail services. However, if your email originates from multiple sources, ensure you update the SPF record accordingly.
Conclusion #
Adding SPF records to your domain is a straightforward process that significantly enhances email security and deliverability. Follow the steps outlined above to ensure your domain is protected and your emails are trusted by external providers.