← Back to Blog SPF, DKIM and DMARC: Fix Email Deliverability and Blacklists

SPF, DKIM and DMARC: Fix Email Deliverability and Blacklists

Share:

You send an invoice or a password reset email, and it lands in spam or never arrives. This often has little to do with your email program. Receiving servers decide using your domain's DNS records and your reputation as a sender. This guide explains the three main records and what to do if you are blacklisted.

SPF, DKIM and DMARC

Receiving servers want to know whether a message really came from your domain. Three standards help them check.

  • SPF (Sender Policy Framework). A DNS text record that lists which servers may send mail for your domain. The receiver checks whether the sending server is on the list.
  • DKIM (DomainKeys Identified Mail). Your mail server adds a digital signature to each message. The receiver looks up your public key in DNS and checks that the message was not changed on the way.
  • DMARC. A policy that sits on top of SPF and DKIM. It tells receivers what to do with messages that fail: monitor (p=none), send to spam (p=quarantine) or reject (p=reject). It can also send you reports.

Start with p=none and read the reports. Move to stricter settings only when you are sure all your legitimate mail passes.

Reputation also matters

Correct records are necessary, but they do not guarantee the inbox. Mailbox providers also look at your history: how many messages bounce, how often people mark them as spam, and whether people open them.

Sending to old or wrong addresses causes bounces. Many spam complaints lower your reputation, and then more of your mail goes to junk.

What a blacklist is

A blacklist (a DNSBL) is a public list of IP addresses or domains linked to spam. Many mail servers check these lists before accepting a message. Common reasons for being listed:

  1. Spam traps. You mailed addresses that exist only to catch careless senders.
  2. A hacked site or script. A weak contact form or an infected script was used to send spam from your server.
  3. A shared IP. On shared hosting, another customer on the same IP sent spam, and the whole address was listed.

How to get delisted

  1. Find out what is listed. Is it your own domain, or a shared IP from your host?
  2. Stop the cause. Check outgoing mail logs, secure your forms, change passwords and make sure your mail scripts need a login.
  3. Clean your lists. Remove bouncing and unsubscribed addresses.
  4. Ask for removal. Use the blacklist operator's own page. Read why you were listed, explain what you fixed, and keep the message short and factual. For a shared IP, contact your hosting provider too.

Our WebTools include a blacklist checker. It sends the domain or IP you enter to our server and to public blacklist services, so enter only the address you want to check.

A quick health check

  • Do you have only one SPF record, with no more than ten DNS lookups in total?
  • Is DKIM passing for every service that sends mail for you?
  • Do you have a DMARC record, ideally with an address for reports?
  • Does your sending IP have a matching reverse DNS (PTR) record?
  • Do you remove inactive addresses from your lists?

Mistakes that hurt delivery

  • Two SPF records. A domain must have only one. Two break the check.
  • Bought email lists. They are full of dead addresses and traps.
  • No reverse DNS. Many servers reject mail from IPs without it.
  • No easy unsubscribe. For bulk mail, add a working unsubscribe link and header. Large providers now expect it.

Good deliverability is ongoing work. Keep your records correct, watch your logs, and send only to people who want your mail.

M
Written by Muhammad Faraz

Co-founder and developer of AioGalaxy. Builds and maintains the Eaglefly, AIVoice and free tools platforms, and writes the blog.

Enjoyed this? Explore the AioGalaxy toolset

Everything mentioned here — and a lot more — is free to try right now, no sign-up walls.

Explore AioGalaxy →

Comments

No comments yet — be the first to share your thoughts.