DNS-settings for improved deliverability
Before you begin:
When you are finished, remember to validate the settings by emailing [email protected] and providing the name of the domain you have set up.
- The settings are configured with your domain name provider.
- If you send campaigns and mailings from multiple domains, you will need to follow these steps for each domain.
- If you are unsure about how to set up the settings with your provider, contact them for guidance.
Here is an example of how the settings can be configured in Cloudflare:
Important!
Starting from February 1, 2024, these settings must be in place for your campaigns to reach Gmail and Yahoo.
Type | Record | Value |
MX | rm.example.com | mail.rulemailer.se(You may also need to add a priority, which should be set to 10.) |
TXT | rm.example.com | v=spf1 include:_spf.rulemailer.se ~all |
CNAME | keyse._domainkey.example.com | keyse._domainkey.rulemailer.se |
CNAME | keyse._domainkey.rm.example.com | keyse._domainkey.rulemailer.se |
TXT | _dmarc.rm.example.com | v=DMARC1; p=reject; adkim=s; aspf=r; rf=afrf; pct=100; rua=mailto:[email protected]; ruf=mailto:[email protected]; |
Setting up DKIM:
DKIM stands for "DomainKeys Identified Mail" and is an email authentication technique that verifies that a message was sent by a legitimate user of an email address. It is designed to prevent email forgery or spoofing (communication sent from an unknown source disguised as a source known to the recipient).
Rule supports DKIM, and to set it up, you need to add a CNAME.
A Canonical Name record (abbreviated CNAME record) is a type of resource record in the Domain Name System (DNS) that is used to specify that a domain name is an alias for another domain (the canonical domain) in your DNS.
The following should be added:
keyse._domainkey.xxx.se pointing to keyse._domainkey.rulemailer.se
xxx.se=your domain, for example, alright.se
See here:
- Click on "Add subdomain" and fill in: Subdomain: keyse._domainkey
- Choose CNAME and then Data: keyse._domainkey.rulemailer.se
Setting up DMARC:
DMARC (Domain-based Message Authentication, Reporting, and Conformance) is another way to verify incoming emails by authenticating the sender's domain. DMARC is especially important for emails sent to Outlook/Hotmail.
- Log in to your DNS and select the domain name you want to use as the sender.
- Click on DNS editor.
- Click on "Add Record".
- Choose type "TXT".
- TTL (Time to live) determines how often the value should be checked in seconds, the standard is 3600, which is perfectly fine.
- In the name box, add the following value: _dmarc
- In the data box, add the following: v=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:[email protected]
Setting up SPF:
SPF (Sender Policy Framework) is a simple and smart way to increase the chance that the newsletter lands in the recipient's inbox instead of being flagged as spam.
In short, it's a system to enhance email security and prevent others from impersonating you to send emails. With SPF in place, your domain determines who is allowed to use your domain as the sender.
Learn more about what SPF is here.
Domain Name: Organizations' public services (such as email and websites) and individual computers can often be accessed using the domain name.
When you send emails via Rule, you essentially "authorize" our server to send emails on your behalf. For example: [email protected]
Since the change needs to be made on your domain name, you'll need to log in to your DNS hosting, like Loopia.se that we use in this example. Typically, the IT department internally manages the company's domain and can assist with setting up SPF or verifying that it's correctly configured.
- Log in to your DNS and select the domain name you want to use as the sender.
- Click on DNS editor.
- Click on "Add Record".
- Choose type "TXT".
- TTL (Time to live) determines how often the value should be checked in seconds, the standard is 3600, which is perfectly fine.
- If you also have other mail servers that you use to send emails on your behalf, simply add include:_spf.rulemailer.com to your existing SPF record.

Validate settings and activate your account
Once this is in place, test your settings here and email our support by clicking on the link:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article