Vad är DKIM?

Vad är 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.

Är du redo att se Bird i aktion?

Förståelse av 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.

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 till 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:

En domänägare publicerar en kryptografisk offentlig nyckel som en specialformaterad TXT-post i domänens övergripande DNS-poster.

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

När en inkommande e-postserver tar emot ett inkommande e-postmeddelande söker den upp avsändarens offentliga DKIM-nyckel i DNS. Den inkommande servern använder denna nyckel för att dekryptera signaturen och jämföra den med en nyligen beräknad version. Om de två värdena matchar varandra kan det bevisas att meddelandet är äkta och inte har ändrats under överföringen.


What is a DKIM signature?

A DKIM signature is a header added to email messages. Den 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-Signature: 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/Yq0YqXD4Og1fPT6ViqB35uLxLGGhHv2lqXBWwFhODPVPauUXxRYEpMsuisdU5TgYmbwSJYYrFLFj5ZWTZ7VGgg6/nI1hoPWbzDaL9qh

Ett DKIM-signaturhuvud innehåller mycket information, eftersom det är avsett för automatiserad bearbetning. Som du kan se i det här exemplet innehåller huvudet en lista med tag=value-delar. Anmärkningsvärda taggar inkluderar "d=" för signeringsdomänen, "b=" för den faktiska digitala signaturen och "bh=" för en hash som kan verifieras genom omräkning med avsändarens offentliga nyckel.

Signaturer är per definition unika från meddelande till meddelande, men dessa grundläggande element kommer att finnas i varje DKIM-signaturhuvud.


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

DKIM, SPF och DMARC är alla standarder som möjliggör olika aspekter av autentisering av e-post. De behandlar frågor som kompletterar varandra.

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

  • DKIM innehåller en krypteringsnyckel och en digital signatur som verifierar att ett e-postmeddelande inte har förfalskats eller ändrats.

  • 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.


Behöver jag DKIM?

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, Betalningar & Sales. It's Bird

The right message -> to the right person -> vid right time.

By clicking "See Bird" you agree to Bird's Meddelande om integritet.

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

The right message -> to the right person -> vid right time.

By clicking "See Bird" you agree to Bird's Meddelande om integritet.