What is DomainKeys Identified Mail?

A digital signature added to outgoing email by the sending domain. The receiver fetches the public key from DNS and checks the signature, which proves the domain took responsibility for the message and that signed parts were not altered.

The sending server signs selected headers and the body with a private key and adds a DKIM-Signature header naming the signing domain (d=) and a selector (s=). The receiver looks up selector._domainkey.domain in DNS for the public key and verifies the signature. Unlike SPF, DKIM survives ordinary forwarding, because the signature travels with the message. A valid signature only says which domain signed the message, not that the message is safe: attackers sign mail from their own lookalike domains too. DMARC checks that the signing domain matches the From address, and DKIM keys need rotating and protecting like any other private key.

Source: IETF RFC (RFC 6376).

Practice it in a lab

Free, hands-on labs that teach DomainKeys Identified Mail.

Related terms

All glossary terms

Related