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.

603 questions
9
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
  • 911
  • 4
  • 15
  • 35
9
votes
2 answers

Exim 4.71 does not add DKIM signature to outgoing emails

I am trying to add DKIM to my domain, I have created a key, added the following to /etc/exim4/conf.d/transport/30_exim4_config_remote_smtp: dkim_domain = mydomain.com dkim_selector = mail1 dkim_private_key = /etc/exim4/dkim.key Restarted exim…
firedev
  • 191
  • 5
9
votes
4 answers

What exactly is a X-YMailISG header?

Finally ... our emails are being seen by Yahoo! not as junk anymore. Hurray! However I notice that the Yahoo! receiving MTA adds in a X-YMailISG header. It's very large ... 2**10 bits? Now that I've invested too large a chunk of my waking life in…
iainH
  • 301
  • 1
  • 3
  • 11
8
votes
2 answers

DKIM with same key but different domains

We are planning to sign with DKIM emails for multiple domains. Each domain will have a CNAME to a DNS entry in a common domain where the keys are stored. If every domain sign with the same key, but off course using different domain and selector, all…
Ricardo Polo Jaramillo
  • 2,039
  • 2
  • 18
  • 35
8
votes
1 answer

OpenDKIM not signing outgoing mail

I'm trying to setup OpenDKIM on my mailserver running Debian and Postfix. This is the configuration I've done: Generated two keys (for two domains I need to send mail for) Configured KeyTable, SigningTable and TrustedHosts…
Compizfox
  • 384
  • 1
  • 6
  • 18
8
votes
4 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,708
  • 7
  • 32
  • 54
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
  • 475
  • 2
  • 6
  • 19
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
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
Furkan Gözükara
  • 556
  • 2
  • 10
  • 27
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
  • 21
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…
8
votes
1 answer

opendkim-testkey: key not secure

I set up Opendkim milter to work with postfix on my machine. Now email is signed & verified correctly i.e. email source code shows DKIM-Signature header. TXT record on the authorative dns is set up like this: ┌───┐ │ # │ root > server > ~ └─┬─┘ …
71GA
  • 363
  • 1
  • 3
  • 10
7
votes
3 answers

DKIM FAIL with domain null in GMail

I'm getting a DKIM: FAIL with domain null error in GMail. When I go to See Original in GMail, I get dkim=fail header.i=@example.com;. In my DNS I have the following TXT Records: DMARC TXT Entry: _dmarc…
jarvis
  • 2,006
  • 4
  • 18
  • 31
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
1 2
3
40 41