Wat is DKIM?

Wat is DKIM?

What Is DKIM?

DomainKeys Identified Mail, or DKIM, is a technical standard that helps protect email senders and recipients from spam, spoofing, and phishing. It is a form of email authentication that allows an organization to claim responsibility for a message in a way that can be validated by the recipient.

Klaar om Bird in actie te zien?

DKIM begrijpen

DomainKeys Identified Mail, or DKIM, is a technical standard that helps protect email senders and recipients from spam, spoofing, and phishing.  It is a form of email authentication that allows an organization to claim responsibility for a message in a way that can be validated by the recipient.

Specifically, it uses an approach called “public key cryptography” to verify that an email message was sent from an authorized mail server, in order to detect forgery and to prevent delivery of harmful email like spam. It supplements SMTP, the basic protocol used to send email, because it does not itself include any authentication mechanisms.


How does it work?

It works by adding a digital signature naar de headers of an email message. That signature can be validated against a public cryptographic key in the organization’s Domain Name System (DNS) records. In general terms, the process works like this:

Een domeineigenaar publiceert een cryptografische openbare sleutel als een speciaal opgemaakt TXT-record in de algemene DNS-records van het domein.

When a mail message is sent by an outbound mail server, the server generates and attaches a unique DKIM signature header naar de message. This header includes two cryptographic hashes, one of specified headers, and one of the message body (or part of it). De header contains information about how the signature was generated.

Wanneer een inkomende mailserver een inkomende e-mail ontvangt, zoekt deze de openbare DKIM-sleutel van de afzender op in DNS. De inkomende server gebruikt deze sleutel om de handtekening te decoderen en te vergelijken met een vers berekende versie. Als de twee waarden overeenkomen, kan worden aangetoond dat het bericht authentiek en ongewijzigd is.


What is a DKIM signature?

A DKIM signature is a header added to email messages. De header contains values that allow a receiving mail server to validate the email message by looking up a sender’s DKIM key and using it to verify the encrypted signature. It looks something like this:

DKIM-handtekening: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sparkpost.com; s=google; h=from:content-transfer-encoding:subject:message-id:date:to:mime-version; bh=ZkwViLQ8B7I9vFIen3+/FXErUuKv33PmCuZAwpemGco=; b=kF31DkXsbP5bMGzOwivNE4fmMKX5W2/Yq0YqXD4Og1fPT6ViqB35uLxLGGhHv2lqXBWwFhODPVPauUXxRYEpMsuisdU5TgYmbwSJYrFLFj5ZWTZ7VGgg6/nI1hoPWbzDaL9qh

Een DKIM signature header bevat veel informatie, omdat hij bedoeld is voor geautomatiseerde verwerking. Zoals je in dit voorbeeld kunt zien, bevat de header een lijst met tag=waarde onderdelen. Opmerkelijke tags zijn "d=" voor het ondertekeningsdomein, "b=" voor de eigenlijke digitale handtekening en "bh=" voor een hash die kan worden geverifieerd door herberekening met de publieke sleutel van de afzender.

Handtekeningen zijn per definitie uniek van bericht tot bericht, maar deze basiselementen zijn aanwezig in elke DKIM signature header.


How is it related to SPF, DMARC, or other standards?

DKIM, SPF en DMARC zijn allemaal standaarden die verschillende aspecten van e-mailverificatie mogelijk maken. Ze pakken complementaire problemen aan.

  • SPF allows senders to define which IP addresses are allowed to send mail for a particular domain.

  • DKIM biedt een coderingssleutel en digitale handtekening die verifieert dat een e-mailbericht niet vervalst of gewijzigd is.

  • DMARC unifies the SPF and DKIM authentication mechanisms into a common framework and allows domain owners to declare how they would like email from that domain to be handled if it fails an authorization test.


Heb ik DKIM nodig?

If you are a business sending commercial or transactional email, you definitely need to implement one or more forms of email authentication to verify that an email is actually from you or your business. Properly configuring email authentication standards is one of the most important steps you can take to improve your deliverability. However, by itself it only goes so far; SparkPost and other email experts recommend also implementing SPF and DMARC to define a more complete email authentication policy.

Your new standard in Marketing, Pay & Sales. It's Bird

The right message -> to the right person -> aan de right time.

Your new standard in Marketing, Pay & Sales. It's Bird

The right message -> to the right person -> aan de right time.