DKIM (DomainKeys Identified Mail) is an email authentication method that lets a sender attach a cryptographic signature to every outgoing message. The receiving server verifies that signature against a public key in your DNS, confirming the message was really sent from your domain and not modified in transit.

Why it matters: Without a valid DKIM signature, large mailbox providers downgrade your reputation, route messages to spam, or reject them outright — especially since the 2024 sender requirements from Gmail and Yahoo.

How DKIM works

You publish a public key as a TXT record at selector._domainkey.yourdomain.com. Mailpro signs every outgoing email with the matching private key. The receiver fetches your public key, verifies the signature, and confirms three things: the sender is authorized, the headers were not altered, and the body was not tampered with.

DKIM, SPF and DMARC at a glance

StandardVerifiesWhere it lives
DKIMCryptographic signature on each messageDNS TXT (selector._domainkey)
SPFWhich IPs may send for the domainDNS TXT on root domain
DMARCPolicy when SPF/DKIM failDNS TXT (_dmarc subdomain)

Anatomy of a DKIM record

A typical DKIM TXT record looks like:

v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GN...

Mailpro generates the key pair, hosts the private key securely, and gives you the exact TXT record to paste in your DNS. See the step-by-step guide: configure DKIM with Mailpro.

Important: Never share your private key. If it leaks, rotate the selector immediately.

What DKIM does NOT do

DKIM proves authenticity but does not encrypt the message body, does not stop spam by itself, and does not validate the visible "From" address — that is DMARC’s job. Always combine DKIM with SPF and DMARC.

Sign every email in minutes

Mailpro generates and rotates DKIM keys for you and provides a 1-click validator. Set it up from the DKIM configuration page and read the full DKIM FAQ.

Previous question

   

Next question

You might also be interested in:

MSISDN: Definition and Format (CC+NDC+SN)

MSISDN stands for Mobile Station International Subscriber Directory Number. It is the worldwide format your SMS gateway uses to identify...

Read more

How to Configure DKIM With Mailpro: 4 Easy Steps

Configuring DKIM with Mailpro takes about ten minutes and pays off immediately: signed messages, higher inbox placement and protection against...

Read more

What Is Graymail and How Is It Different From Spam?

Graymail is the email category that sits between truly wanted messages and outright spam: newsletters, promotions, alerts and notifications that...

Read more

DNS configuration: TXT record SPF

SPF (Sender Policy Framework) authorises Mailpro to send emails on behalf of your domain. Without a proper SPF, Gmail and...

Read more

What is DMARC? Policies, alignment and safe sending

DMARC (Domain-based Message Authentication, Reporting and Conformance) is the shield that protects your domain from spoofing and phishing. It combines...

Read more