Questions tagged [dkim]

DomainKeys Identified Mail is a scheme for signing and verifying email messages to confirm that that the source hasn't been forged, and is typically implemented by MTAs. The source MTA adds a header to the message body containing a signature, and the destination MTA verifies this signature against a key retrieved from DNS.

DomainKeys Identified Mail (DKIM) is an email authentication method designed to detect forged sender addresses in emails (email spoofing), a technique often used in phishing and email spam.

DKIM allows the receiver to check that an email claimed to have come from a specific domain was indeed authorized by the owner of that domain.[1] It achieves this by affixing a digital signature, linked to a domain name, to each outgoing email message. The recipient system can verify this by looking up the sender's public key published in the DNS. A valid signature also guarantees that some parts of the email (possibly including attachments) have not been modified since the signature was affixed.[2] Usually, DKIM signatures are not visible to end-users, and are affixed or verified by the infrastructure rather than the message's authors and recipients.

The first version of DKIM synthesized and enhanced Yahoo!'s DomanKeys and Cisco's Identified Internet Mail specifications. It was the result of a year-long collaboration among numerous industry players, during 2005, to develop an open-standard e-mail authentication specification. Participants included Alt-N Technologies, AOL, Brandenburg InternetWorking, Cisco, EarthLink, IBM, Microsoft, PGP Corporation, Sendmail, StrongMail Systems, Tumbleweed, VeriSign and Yahoo!. The team produced the initial specification and several implementations. It then submitted the work to the IETF for further enhancement and formal standardization.

633 questions
8
votes
4 answers

Should DKIM selector names be unguessable?

The M³WAAG DKIM Key Rotation Best Practices document (pdf) recommends a "sufficiently" random DKIM selector name so that it cannot be guessed by browsing the DNS. A literal quotation: 4.3 Key Selector Naming Scheme Define a naming scheme for the…
Lekensteyn
  • 6,321
5
votes
3 answers

Is there anything bad about DKIM-signing mail without the key in DNS?

At a site that I manage, we send out emails for many customer domains. Some of them have our DKIM key in DNS, some don't. From what I can tell: Signature verification failure does not force rejection of the message. But is that actually the case?…
MikeyB
  • 39,673
3
votes
1 answer

Sign DKIM on relay mail server

I found some email have header: Received: by 10.112.172.99 with SMTP id bb3csp690725lbc; Fri, 8 Jan 2016 11:37:33 -0800 (PST) X-Received: by 10.55.15.139 with SMTP id 11mr615164qkp.50.1452281853620; Fri, 08 Jan 2016 11:37:33 -0800…
Davild
  • 31
  • 1
  • 5
3
votes
1 answer

When implementing DKIM, should I publish DNS first or start signing first?

I am about to implement DKIM signing on my domain, but couldn't find information about which one to start first: publish DNS or start signing keys. Explains better: Considering the time DNS takes to spread out, so: If I start signing first, people…
motobói
  • 1,761
  • 1
  • 12
  • 18
2
votes
2 answers

What is the proper format for a DKIM type TXT value in a DNS Zone record?

I'm setting up Email Authentication and I'm seeing conflicting info on the format. Some say that the value should be surrounded in " " But other services have told me to leave out the surrounding " Does it just vary by ESP (email service provider)?
Clay Nichols
  • 1,513
2
votes
3 answers

Is it safe to use port25 to generate DKIM key

I found this site. But if I use it, doesn't it mean that port25.com would know and be able to use my private key?
ironic
  • 121
2
votes
1 answer

Is having DKIM signatures not matching worse than not signing DKIM at all?

If I sign mail with a private key which does not have a corresponding public key in the DNS, is this worse (for deliverability), than not signing the message at all? I know will be down to the receiving mail server, which can implement any rules it…
Dom
  • 488
2
votes
2 answers

Will DKIM cause unsigned messages to bounce?

If DKIM has been configured on a domain (DNS has a TXT record containing a DomainKey), is it necessary to sign all outgoing messages, or is it optional? I have a domain with a corporate mail server which doesn't sign outbound messages (I don't have…
Matt
  • 75
1
vote
1 answer

dkim=temperror (no key for signature) then dkim=pass

I published a DKIM record for my niceoldteacher.com domain that is hosted by fatcow.com and sent an email to one of my gmail accounts to see if DKIM was working. Although the header summary for the received email indicated that SPF, DKIM, and DMARC…
1
vote
1 answer

Keys does not match -dkim

I installed opendkim on server and have checked on mxtoolbox.com verifier that my dkim is done. However on using opendkim-testkey command i am getting following error: $ opendkim-testkey -v opendkim-testkey: using default configfile…
1
vote
1 answer

DKIM signature and hmailserver - Your DKIM signature is not valid

I'm trying to get DKIM working on a domain using hmailserver as the mailserver, but I keep on getting Your DKIM signature is not valid This is from www.mail-tester.com The DKIM signature of your message…
omega1
  • 446
1
vote
2 answers

Yahoo mail authentication dkim=permerror (bad sig)

When I send emails to any yahoo account the authentication result shows the following: YAHOO RESULT: Received-SPF: pass (domain of anildagia.com designates 66.225.220.59 as permitted sender) Authentication-Results: mta1130.mail.ne1.yahoo.com …
Anil Dagia
  • 21
  • 1
  • 2
1
vote
2 answers

DKIM domain selection

I send mails with different From and Return-Path addresses on different domains (for bounces collecting on separated mail server). For example, From: my@example.com and Return-Path: bounces@another-domain-for-bounces.org. Which of this domains…
1
vote
2 answers

OpenDKIM Unable to bind to port Permission Denied

I see a lot of this kind of problem, but with the "Address already in use" error and not the "Permission Denied" error I am getting. I installed OpenDKIM via this blog: http://blog.matoski.com/articles/spf-dk-dkim-plesk-debian/ And everything went…
1
vote
1 answer

Why DMARC having DKIM failure?

I have enable DMARC feedback for my server. I am getting the following messages, in this case from google, but I've gotten similar from att.net, Microsoft and others: Email Provider: google.com Report Id: 7844382628123659573 Report Start Date: …
1
2