DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message. The association is set up by means of a digital signature which can be validated by recipients.
Questions tagged [dkim]
495 questions
5
votes
1 answer
How does SPF/DKIM "auto authentication" work on mail chimp?
Mail chimp offers three levels of authentication when doing email campaigns.
Manual Authentication
No Authentication
Auto Authentication
From what I understand Manual Authentication is when you set up your own SPF/DKIM records on your DNS.
No…

Chris
- 493
- 3
- 11
5
votes
2 answers
Manually signing an email with DKIM in Python
I'm new to Python and trying to create a email sending script via socket communication but can't seem to sign it with the dkimpy lib. I tried a couple of examples on the web but all returned the same error when running dkim.sign:
File…

alex.b
- 53
- 1
- 5
5
votes
1 answer
DKIM for Mandrill on Amazon's Route 53
I am trying to set up a DKIM record on Amazon's Route 53. I just choose to add TXT record with name like this: mandrill._domainkey.domain.com
and the value is:
"v=DKIM1;…

Petar Vasilev
- 4,281
- 5
- 40
- 74
5
votes
1 answer
Configure DKIM with MailChimp
I'm configuring DKIM for my MailChimp campaigns.
What do i need to do, other then checking the 'authenticate this campaign' checkbox, in order for my domain to recognize MailChimp? Do i need to install openDKIM on my machine for this?

user1771103
- 71
- 1
- 2
4
votes
2 answers
2 DKIM on same domain
We are using an external service for our newsletter, which has required the followin DKIM setup in our domain gipote.dk:
_domainkey.gipote.dk. 43200 IN TXT "o=~"
default._domainkey.gipote.dk. 43200 IN TXT "k=rsa\; p=MIGf...ibnrkoqQIDAQAB"
(I…

Carsten Gehling
- 1,218
- 1
- 13
- 31
4
votes
1 answer
Django SMTP authentication best practices
I have a Django website and a postfix service running in the same Ubuntu Server 10.04 box.
What type of authentication would you suggest me so that it'll be simple and secure?
If I want my messages to be DKIM/DomainKey signed and compliant with…

Sergio
- 4,537
- 4
- 33
- 41
4
votes
0 answers
How to add 2 DKIM records when they are both sendgrid. Klaviyo and Sendgrid
We use Sendgrid to send out emails directly from our website. the record is
s1._domainkey.xxx.com s1.domainkey.uxxxxx.wxxx.sendgrid.net.
s2._domainkey.xxx.com sx.domainkey.uxxxxx.wxxx.sendgrid.net.
We also use Klaviyo which also uses sendgrid. They…

Billy
- 126
- 1
- 10
4
votes
1 answer
Why is smtplib.SMTP().sendmail not sending a DKIM signed message
I have set up postfix on a server, along with openDKIM.
When I run:
echo "Testing setup" | mail -s "Postfix test" {my_email_address}
I get the email, and in the mail headers there is a DKIM-Signature header.
When, however I write a python script to…

Oliver Fawcett
- 583
- 1
- 6
- 18
4
votes
1 answer
making node.js' nodemailer work with dkim smtp
I have difficulties to set up DKIM signing with node.js and nodemailer.
Here is what I got:
A regular self hosted SMTP-email like you@yourpersonalwebsite.com on hosteurope.com
A domain with DNS settings hosted at inwx.com
Node.js 8.4.0
Step 1:…

rcpfuchs
- 792
- 1
- 12
- 26
4
votes
1 answer
How to authenticate emails to prevent gmail mark it as spam
We just open a new e-commerce website and recently noticed Gmail treat our e-mails as spam (notice the red question mark). Our website run behind CloudFlare so the email server IP address is different than the domain.
We also did not send a bulk…

Onur Topal
- 3,042
- 1
- 24
- 41
4
votes
1 answer
DKIM signing fails with body hash did not verify for Mimekit 1.10.1.0 , Mailkit 1.10.2.0
I see a strange problem while DKIM signing the headers with Mailkit & Mimekit, Gmail reports the error "dkim=neutral (body hash did not verify)".
Am I doing something wrong here?.Please find my code below and screenshots of the actual received…

Krishnan Venkiteswaran
- 616
- 6
- 23
4
votes
1 answer
DKIM Only works on Short Messages
The Problem:
I am using OpenDKIM with Postfix. The mail is generated in PHP using the following code and then sent with mail():
// message
$message = "--$hash".PHP_EOL;
$message .= "Content-Type: text/plain;…

Kittsil
- 2,349
- 13
- 22
4
votes
2 answers
Exim's DKIM signatures do not verify on Microsoft servers (outlook, hotmail) *only*
Gmail as well as a local ISP passes DKIM for Exim emails, but Microsoft does not, with the fail noted in the header:
Authentication-Results: spf=pass (sender IP is [correct IP])
smtp.mailfrom=[correct domain].co.uk; outlook.com; dkim=fail…

lm713
- 312
- 5
- 16
4
votes
3 answers
Not able to generate DKIM record for .net domain in google app
I'm using google apps for mail service. I have generated and submitted DKIM records for .co and .in domains successfully. But I'm not able to generate DKIM record for .net domain (say yourdomain.net). It shows an error we are unable to process your…

Sathishkumar Jayaraj
- 736
- 11
- 29
4
votes
1 answer
DKIM amavisd test failed
I have configured a new email server for my company, we are using a cloud server on theplanet.com and a shared hosnting on bluehost.com, I configured the server using iredmail, all works great but when I try to test the dkim keys with amavisd…

Christian
- 329
- 1
- 4
- 12