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
11
votes
2 answers

How did spammer spoof emails with my google apps domain (it even has DKIM!)

I have been getting a lot of bounce-backs lately. I thought my google apps account has been compromised, but there is no activity on my apps account, and there is certainly no malicious user that I can see. Since the email is always send from some…
Sam
  • 955
  • 1
  • 7
  • 8
10
votes
2 answers

DMARC and DKIM alignment with multiple DKIM signatures

If an email contains multiple DKIM signatures as it's forwarded, how does DMARC process the DKIM alignment check? Does ANY passing DKIM signature d= parameter have to match Header From? or Does the first (or last) DKIM signature d= parameter have to…
Novox
  • 504
  • 1
  • 9
  • 25
10
votes
3 answers

Why is my email failing Gmail's DKIM test?

I have a message that was rejected by Gmail, I don't know why. It passes SPF. We aren't using DKIM. Do I need to set up DKIM? I am in control of "example.com". Our mail server is "server.example.com" (hosted at bluehost) Our SPF record is v=spf1 +a…
nielsbot
  • 223
  • 1
  • 3
  • 9
10
votes
1 answer

Are there any pitfalls to DKIM?

We are considering implementing DKIM, the pros seem pretty obvious. Are there any cons? I know this is a bit vague and possibly subjective so I will accept what seems to me to be the most complete answer when 24 hours have transpired with no new…
Aaron Bush
  • 237
  • 1
  • 2
  • 10
9
votes
1 answer

Email dkim=temperror (no key for signature)

I have a custom built web application that sends emails. This application is hosted by a third party. This application sends emails through their servers. I have correctly set my spf record. However, when my application sends emails the emails…
Edwardcode
  • 113
  • 1
  • 2
  • 6
9
votes
3 answers

DMARC Alignment: Enforce messages pass BOTH SPF and DKIM

Is there a way to enforce DMARC to fail/reject mail that doesn't pass BOTH DKIM and SPF? We have been narrowing the number that are failing, but there are some domains in our aggregate (rua) report that are passing just DKIM and we would rather that…
9
votes
4 answers

SPF + DKIM + DMARC with Gmail account and external mail server

I,m using gmail with own domain (Google Apps) for my project. Now I want to add external mail server for sending notifications for users. Gmail doesn't give private keys for DKIM and if keys will be generated on external mail server, in case strict…
cptBuggy
  • 91
  • 1
  • 1
  • 3
9
votes
4 answers

no signing table match in OpenDKIM

I have OpenDKIM installed on CentOS. I am using postfix as MTA and dovecot for IMAP/POP3. Now the problem is am trying to setup DKIM for my domain. The mails are send from a sub domain mail.example.com. The issue is that mails are not being signed…
Amal
  • 291
  • 1
  • 2
  • 9
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
1 answer

How do I use OpenDKIM with multiple domain names on a single server?

How do I use OpenDKIM with multiple domain names on a single server? I own 3 domain names, and I have a single server that's running postfix for sending email. How do I use OpenDKIM? Can I use the same keyfile for all 3 domain names? Do I have to…
Old account
  • 467
  • 3
  • 5
  • 14
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
9
votes
2 answers

SPF hardfail and DKIM failure when recipient has e-mail forwarding

I configured hardfail SPF for my domain and DKIM message signing on my SMTP server. Since this is the only SMTP server that should be used for outgoing mail from my domain, I didn't foresee any complications. However, consider the following…
Belmin Fernandez
  • 10,629
  • 26
  • 84
  • 145
8
votes
1 answer

Is it wrong to leave out the "v=DKIM1;" on a DKIM record?

Looking at my mail hosting provider's already-populated DNS records, I see that their auto-generated DKIM record doesn't have v=DKIM; in it - it is simply k=rsa; p=hGF6ksa9fjf8SD6bcKk... in the record value. Is this still considered a "valid" DKIM…
Conrad
  • 258
  • 1
  • 3
  • 10
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
  • 1
  • 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
  • 375
  • 1
  • 6
  • 17
1
2
3
38 39