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.

574 questions
8
votes
2 answers

DKIM not signing with alias addresses - not internal, not authenticated

I have postfix, dovecot, opendkim and postsrsd installed. I am trying to forward mail from alias@example.com to myemail@gmail.com, and have them signed with DKIM. I use postsrsd in order for the SPF record to pass for the forwarded emails. However,…
user2370460
  • 203
  • 3
  • 6
8
votes
3 answers

Will mailing lists "break" if SPF is too restrictive?

I have recently configured my own mail server (Linux-based postfix + dovecot scenario). This is just for personal use - I have no bulk mail going out, no automatically generated mail outbound from the host, nothing like that. I've gone through the…
Chris Tonkinson
  • 465
  • 2
  • 6
  • 18
8
votes
1 answer

DKIM and SPF for a subdomain

I manage a VPS on Linode accessed through subdomain.example.com and I need to send email from this subdomain. I can't set any TXT records in Linode DNS manager because the name servers for example.com are something else, not ns1.linode.com, etc. So…
hiirulainen
  • 135
  • 2
  • 2
  • 6
8
votes
1 answer

postfix + opendkim not signing correctly. how to debug this?

EDIT: I did get a little further but all posts on my search say permissions are wrong or regenerate key but I fixed that to be 644 as well as owned by DKIM AND I keep regenerating the key but it is not helping. My latest error now is this Apr 21…
Dean Hiller
  • 841
  • 4
  • 14
  • 31
8
votes
2 answers

How to add DKIM feature to the IIS 7.5 - Windows Server 2008 - DomainKeys Identified Mail

How to add DKIM feature to the IIS 7.5 - Windows Server 2008 DomainKeys Identified Mail
MonsterMMORPG
  • 546
  • 2
  • 9
  • 25
8
votes
3 answers

DKIM vs Domain Keys

I've configured DKIM (milter-dkim) on my mail server. Incoming e-mail sent from my domain now containts the following header: X-DKIM: Sendmail DKIM Filter v2.8.3 MYDOMAIN.com o7FLH1Wa032083 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;…
NinjaCat
  • 576
  • 1
  • 9
  • 20
8
votes
3 answers

Does SPF provide benefits along with DKIM+DMARC?

I have a domain I send emails from via Mailchimp and Google. I've set up DKIM for both of them and added a DMARC record too (for testing atm). I collect reports for DMARC failures and the overwhelming majority of these reports are for SPF fails. In…
7
votes
2 answers

Hosting DKIM records on a separate nameservers

For organization we setup a _domainkey.domain.com as a separate zone instead of creating all our DKIM records on our root domain zone domain.com. As a result the nameservers for _domainkey.domain.com and domain.com are different. Is this…
jadent
  • 175
  • 3
7
votes
4 answers

Exim4 does not add DKIM signature

Have spent 2 days trying to tell Exim to add DKIM signatures on my Debian8 server. No success. Have read many how-tos, forums but none of possible solutions wotk on my server. Have generated the keys: cd /etc/exim4/ openssl genrsa -out…
aigffmss
  • 147
  • 2
  • 8
7
votes
2 answers

Receiving DMARC reports for emails I do not send

I am hosting the email for my domain (lets call it example.com) on google apps (free legacy edition). I recently enabled the DMARC reports so I now get a daily report for the emails sent from my domain. My problem is that sometimes I get reports…
DorAga
  • 161
  • 1
  • 1
  • 6
7
votes
3 answers

Postfix - Opendkim - Unable to connect to local socket

I am getting denied errors when postfix tries to connect to the unix socket for opendkim, actual error: Sep 24 15:41:43 service-a-4 postfix/cleanup[17414]: warning: connect to Milter service unix:var/run/opendkim/opendkim.sock: Permission…
Mike Purcell
  • 1,688
  • 7
  • 30
  • 53
7
votes
3 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,111
  • 6
  • 37
  • 55
7
votes
4 answers

Why does my mail get marked as spam?

I Have the server "afspraakmanager.be". It matches everything not to be a spam server.(it isn't by the way): it has reverse dns, spf,dkim,... . But hotmail marks it as spam. I think the problem is the SPF/DKIM records. when i sent an email to my…
Nick
  • 195
  • 1
  • 6
7
votes
4 answers

Getting Exchange to do DKIM

Having read Jeff's blog post about Email and DKIM, I'm thinking it might be good to DKIM all mail coming out of our Exchange 2003 servers. Whats a good way of going about that?
codeulike
  • 998
  • 5
  • 16
  • 29
7
votes
1 answer

Is ed25519 well supported for the DKIM validation?

Based on the Exim4 docs I have the following script: #! /bin/bash -- ED="dkim_ed25519_$(date +'%Y%m%d')" RSA="dkim_rsa_$(date +'%Y%m%d')" ## Generate private key openssl genpkey -algorithm ed25519 -out "${ED}.private" openssl genrsa -out…
NarūnasK
  • 358
  • 4
  • 16
1 2
3
38 39