An address like sales@yourbusiness.in looks far more trustworthy than a free Gmail ID on your invoices and visiting cards. Creating the mailbox takes two minutes. The part most people skip is the four DNS records that prove your mail is really from you. Without them, your quotes and invoices land in the customer's spam folder, or don't arrive at all.
This guide walks through all of it in plain words: the mailbox, then MX, SPF, DKIM and DMARC, then how to check everything passes. The examples use cPanel, which comes with our web hosting, but the DNS records work the same with any provider.
Short version: MX says where your mail is delivered. SPF lists the servers allowed to send as you. DKIM signs each message. DMARC tells Gmail and Outlook what to do when a check fails. Set all four, then send a test to Gmail and look for PASS on each.
The four records at a glance
| Record | What it does | Example |
|---|---|---|
| MX | Tells the world which server receives mail for your domain | yourbusiness.in → mail.yourbusiness.in (priority 0) |
| SPF (TXT) | Lists the servers allowed to send mail as your domain | v=spf1 +a +mx ~all |
| DKIM (TXT) | A public key that checks the signature on every message you send | default._domainkey → v=DKIM1; k=rsa; p=MIIB… |
| DMARC (TXT) | Your policy when SPF or DKIM fails, plus where to send reports | _dmarc → v=DMARC1; p=none; rua=mailto:… |
Why this matters now
Since February 2024, Gmail and Yahoo require everyone sending to their users to pass SPF or DKIM, and anyone sending in bulk to have SPF, DKIM and DMARC. Microsoft's Outlook.com brought in similar rules for high-volume senders in 2025. Even if you only send a few invoices a day, mail without these records is treated as suspicious, and it's much easier for someone to fake your domain in a phishing email.
Step 1: Create your mailbox
In cPanel, open Email Accounts → Create. Pick the address (for example accounts@), set a strong password and a storage limit, and save. Create one mailbox per person or role: info@, sales@, accounts@. Our web hosting plans include 10 to 200 email accounts depending on the plan, so you don't pay per mailbox.
You can read mail in the browser at yourbusiness.in/webmail, or add it to your phone or Outlook. In cPanel, Connect Devices next to each mailbox shows the exact settings. They usually look like this:
| Setting | Value |
|---|---|
| Incoming (IMAP) | mail.yourbusiness.in, port 993, SSL/TLS |
| Outgoing (SMTP) | mail.yourbusiness.in, port 465, SSL/TLS, authentication on |
| Username | The full email address |
Use IMAP, not POP3, so your phone, laptop and webmail all show the same folders.
Step 2: Check where your DNS is managed
All four records live in your domain's DNS. Before you add anything, find out who runs your DNS, because that's the only place changes count:
- Domain pointed to our nameservers? cPanel manages the DNS for you, and it creates MX, SPF and DKIM automatically. You'll mostly just check them and add DMARC.
- DNS at Cloudflare, your registrar or somewhere else? You add the records there, copying the values cPanel shows you. If you're not sure, our guide to pointing a domain to a server explains how to find out.
Step 3: MX record
The MX record decides where mail for your domain is delivered. For email hosted with your cPanel account, it points to your mail server, usually mail.yourbusiness.in or the server name your host gives you. Have only the MX records for one email provider. If you move from another provider, delete their old MX records, or some mail will keep going to the old place.
Step 4: SPF record
SPF is one TXT record on your main domain that lists every server allowed to send mail as you. A typical record for mail sent from your hosting:
Type: TXT
Name: @ (or yourbusiness.in)
Value: v=spf1 +a +mx ~all
If other services also send as your domain, add them with include:. For example, a billing tool, a newsletter service or accounting software that emails GST invoices. Each service publishes the exact include value in its help pages.
Three rules that trip people up:
- Only one SPF record per domain. Two separate
v=spf1records break SPF completely. Merge them into one. - Maximum 10 DNS lookups. Every
include:,aandmxcounts. Too many includes make SPF fail. - Start with
~all(soft fail). Move to-allonly when you're sure every sender is listed.
Step 5: DKIM record
DKIM adds a hidden digital signature to every email you send. The receiving server checks it against a public key in your DNS. If the message was changed on the way, or didn't come from your server, the check fails.
In cPanel, open Email Deliverability. It shows the status of DKIM and SPF for each domain. If DKIM shows a problem, click Manage: cPanel shows the exact record to add (usually the name default._domainkey with a long v=DKIM1; k=rsa; p=… value). With our nameservers, the Repair button fixes it for you. With DNS elsewhere, copy the name and value into your DNS exactly, as one line.
Other services that send as you (newsletters, billing tools) have their own DKIM keys with different names, so they can sit side by side with yours.
Step 6: DMARC record
DMARC ties SPF and DKIM together. It tells receiving servers what to do with mail that fails, and where to send reports. Start in watch-only mode:
Type: TXT
Name: _dmarc
Value: v=DMARC1; p=none; rua=mailto:dmarc@yourbusiness.in
p=nonechanges nothing about delivery. It only asks Gmail, Outlook and others to send you daily reports to theruaaddress. Create that mailbox first.- After two to four weeks, check the reports. When everything you send passes, move to
p=quarantine(failures go to spam), and laterp=reject(failures are refused). This is what stops others from faking your domain. - The reports are XML files. A free DMARC report reader makes them easy to understand.
Step 7: Check that everything passes
DNS changes usually show up within an hour, sometimes longer. Then check the records from any computer:
# Linux / Mac
dig +short MX yourbusiness.in
dig +short TXT yourbusiness.in
dig +short TXT default._domainkey.yourbusiness.in
dig +short TXT _dmarc.yourbusiness.in
# Windows (Command Prompt or PowerShell)
nslookup -type=TXT _dmarc.yourbusiness.in
Then the real test: send an email from your new address to a Gmail account. Open it in Gmail, click the three dots → Show original. You want to see:
SPF: PASS
DKIM: 'PASS' with domain yourbusiness.in
DMARC: 'PASS'
If all three say PASS, you're done. Do this again whenever you add a new service that sends email as your domain.
Common problems and fixes
| Problem | Likely cause | Fix |
|---|---|---|
| Mail goes to the customer's spam | SPF, DKIM or DMARC missing or failing | Do Step 7 and fix whichever one doesn't say PASS |
| SPF fails even though the record exists | Two SPF records, or more than 10 lookups | Merge into one record and remove includes you no longer use |
| DKIM fails | Record copied with a line break or a missing character, or added at the wrong DNS provider | Copy it again from Email Deliverability, into the DNS that's actually in use |
| Invoices from your software go to spam | That software sends from its own servers and isn't in your SPF | Add its include: to SPF and set up its DKIM key |
| Some mail still arrives at the old provider | Old MX records left in place | Keep only the new provider's MX records |
Want email on your own domain without doing the DNS work yourself? Our web hosting plans come with email accounts and cPanel's deliverability tools, with the same price at renewal. Our team can help you set up MX, SPF, DKIM and DMARC on chat, ticket or phone, 24/7 in Hindi and English. Moving a domain too? See how to transfer a domain to another registrar.
Frequently asked questions
Do I need SPF, DKIM and DMARC if I send only a few emails?
Yes. Gmail and Yahoo expect every sender to pass SPF or DKIM, and mail that fails is far more likely to land in spam. All three records are free and take a few minutes. DMARC also stops others from faking your domain once you move past p=none.
Can I have two SPF records?
No. A domain must have only one SPF record. Two records starting with v=spf1 make SPF fail for all your mail. Combine every sender into one record, for example v=spf1 +a +mx include:service.example ~all.
What DMARC policy should I start with?
Start with p=none and a rua address for reports. It doesn't change delivery, it only shows you who sends mail as your domain. After a few weeks, when all your real mail passes, move to p=quarantine and then p=reject.
How do I check if my email passes SPF, DKIM and DMARC?
Send a test email to a Gmail account, open it, click the three dots and choose Show original. Gmail shows PASS or FAIL for SPF, DKIM and DMARC at the top. You can also look up the records with dig or nslookup.
Will changing MX records affect my website?
No. MX records only control where email is delivered. Your website uses A records, so changing MX moves your email without touching your site.


