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
51
votes
3 answers
Can I have multiple DKIM txt records in single domain?
I have several cloud applications that send email. Each application has DKIM set up.
For example:
cloud app 1 : k=rsa; t=s;…

keepontrying
- 557
- 1
- 4
- 10
31
votes
4 answers
Setting up DomainKeys/DKIM in a PHP-based SMTP client
It looks like there are some great libraries out there to do DomainKeys signing of emails on C#/.NET, but I'm having a really hard time finding the same kind of support for PHP. Maybe I'm not looking in the right place?
The only one I found is…

Alex Weinstein
- 9,823
- 9
- 42
- 59
28
votes
5 answers
Removing 'on behalf of' when sending mail using MailGun
I'm trying to figure out how to send mails using the MailGun Golang API without having it sent 'on behalf of'.
This is how the From address currently looks (where foo.com is the sender's email domain and bar.com is my…

Bill
- 25,119
- 8
- 94
- 125
26
votes
1 answer
Differences between DomainKeys vs DKIM?
Please explain about differences between DomainKeys vs DKIM

Ramesh
- 336
- 1
- 3
- 10
25
votes
4 answers
Underscore in CNAME required by SES not allowed by registrar
Amazon's SES mail service requires DKIM authentication. One step of authentication is to add a CNAME record to your domain's DNS.
Unfortunately the CNAME record has an underscore. My registrar, Network Solutions, does not allow underscores in…

csi
- 9,018
- 8
- 61
- 81
24
votes
6 answers
How to Domainkeys/DKIM email signing using the C# SMTP client?
I have written an program in C# which sends out emails. Now I have a requirement to sign outbound emails using Dominkeys/DKIM, but I'm not sure how to do it.
I have set up all keys, but I don't know how to get those and how to include them in the…

Nnp
- 1,813
- 7
- 36
- 62
23
votes
2 answers
Send mail in phpmailer using DKIM Keys
Currents i am using phpmailer to send mail's. now how its possible to send email in phpmailer with DKIM keys
i search in phpmailer Class file and i found the below code
/**
* DKIM selector.
* @type string
*/
public…

Varun Sridharan
- 1,983
- 2
- 20
- 54
20
votes
4 answers
Why would I choose simple over relaxed canonicalization for DKIM?
DKIM supports two canonicalization schemes: relaxed and simple. The former is more lenient and allows for intermediary mailers to modify the email to a limited degree.
The only data I could find is a survey of implementations that shows the vast…

James A. Rosen
- 64,193
- 61
- 179
- 261
18
votes
3 answers
How do I verify a DKIM signature in PHP?
I'll admit I'm not very adept at key verification. What I have is a script that downloads messages from a POP3 server, and I'm attempting to verify the DKIM signatures in PHP. I've already figured out the body hash (bh) validation check, but I can't…

angrychimp
- 696
- 1
- 6
- 13
16
votes
2 answers
Correct email headers for delivering mailing list mail
I'm writing an application that allows users to send email to dynamically-created mailing lists. For example, a user can send an email to my-team@site.com (the site is a league management site for sports leagues) and the email will be sent to…

Alex Grin
- 8,121
- 6
- 33
- 57
15
votes
3 answers
search for ALL DNS TXT records of a domain and subdomains
There is a way to retrieve ALL (TXT) entries about DNS records of a domain (and subdomains) ?
My goal is to verify the configuration of my domain: www.rosposhop.com
where I correctly set multiple SPF and DKIM records for some…

Giorgio Robino
- 2,148
- 6
- 38
- 59
12
votes
3 answers
Emails marked as spam - SPF passes, DKIM passes, sender-id passes
I've been struggling to figure out why this is happening, but my emails are being marked as spam by Gmail and Hotmail (they work in Yahoo.)
SPF, DKIM, rDNS, and sender-id all pass. What's weirder is I've send the EXACT same email with its exact…

Orlando
- 1,236
- 3
- 12
- 24
11
votes
1 answer
How does Sendgrid's automated security works?
SendGrid's automated security automate SPF and DKIM by a CNAME record. It even allows to have our own SPF and DKIM records in place directly using Domain Registrar.
How do they do it without collusion with existing SPF and DKIM records in place of…

jeffbRTC
- 1,941
- 10
- 29
11
votes
2 answers
What's the difference between DomainKey-Signature & DKIM-Signature?
I'm trying to sign emails with DKIM using PHPMailer Class and i can't get it to work.
When i see the headers in my emails on gmail, i find that the class is successfully injecting DKIM in the email header but gmail doesn't even care.
The question is…

CodeOverload
- 47,274
- 54
- 131
- 219
11
votes
2 answers
How to Sign Javamail with DKIM
Is there a library or a way to do this without an external library? I am using apache james as my mail server and currently send email like this:
public void sendMessage(String to, String subject, String content) {
MimeMessage message = new…

ryandlf
- 27,155
- 37
- 106
- 162