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
3
votes
1 answer

Interpreting a DMARC report that seems to have conflicting data

I recently implemented DMARC in monitoring mode, in order to begin preparing all the domains I manage. Here is the aggregate report for yesterday. I don't understand why DKIM would evaluate to false under policy_evaluated when DKIM is marked pass…
samh
  • 213
  • 4
  • 11
3
votes
2 answers

What order do split TXT records get assembled in?

As per RFC4408 3.1.3, a TXT record can be split up with quotation marks and will be reassembled properly - this is a way of getting around the 255 character limit on record size. IN TXT "v=spf1 .... first" "second string..." MUST be treated as…
emc
  • 133
  • 1
  • 6
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,741
  • 1
  • 12
  • 17
3
votes
2 answers

What are the implications of inserting a DKIM record for a third party sending email on our behalf?

Our organization is setting up an account with a third party cloud service that will be sending emails on our behalf. Our marketing department would like to eliminate the "via" or "on behalf of" bits that some clients show so that it looks like the…
glibdud
  • 273
  • 2
  • 12
3
votes
1 answer

DKIM - Single host - Multiple IPs

Trying to figure out the best practice for implementing DKIM on a single EC2 which will have multiple, elastic IPS. # /etc/opendkim.conf ... Mode sv Canonicalization relaxed/simple ExternalIgnoreList …
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
3
votes
2 answers

SPF and DKIM help: Do the FAIL reports from DMARC indicate an issue?

I am having trouble determining if my SPF and DKIM are configured properly. Here are key details: My domain is mysteryscience.com We send mail from google apps, from SendGrid, and from Intercom. All seem to be working properly, although I do hear…
Keith Schacht
  • 131
  • 1
  • 3
3
votes
1 answer

OpenDKIM milter with Postfix

I just configured opendkim and postfix and it is supossed to be signing my emails but it doesn't. I used /usr/sbin/opendkim-testkey to test the keys and it seems to be ok with them but the mails I send to check-auth@verifier.port25.com keep…
Asier Paz
  • 133
  • 1
  • 6
3
votes
2 answers

Remove OR Replace "mailed by" field with DKIM & SPF enabled in AWS SES

Is it possible to remove the mailed by: us-west-2.amazonses.com field in an email or replace it with mailed by: example.com? Amazon forums, this site, and google searches are very unclear. I am using Amazon SES to send the email. The via portion of…
user247445
  • 31
  • 1
  • 3
3
votes
1 answer

Hotmail/Outlook.com DKIM failure when signing with different domain - header.d ignored

We (sender.org) provide a mail server for a client (example.org) and sign outgoing messages with our private DKIM key (we cannot change the signing domain to the client's domain). Return-Path: bounce@sender.org From: from@example.org The DKIM…
horen
  • 411
  • 2
  • 7
  • 22
3
votes
1 answer

Deprecation of RSA-SHA-1 in DKIM keys?

I recently noticed that opendkim on my mail server is objecting to DKIM signatures from a client, saying their key is insecure. It may be that that's due to lack of secure DNS (confirmation?) but I also noticed that the signing algorithm is shown…
mc0e
  • 5,866
  • 18
  • 31
3
votes
2 answers

Postfix sends email to spam (gmail, hotmail)

I recently installed a postfix + dovecot + dkim multi domain, multi user, multi alias mail server on my debian squeeze system. Everything works except for one big issue that basically makes the whole thing useless: Every single email sent by my…
razorxan
  • 131
  • 1
  • 3
3
votes
1 answer

How to correctly configure postfix and opendkim and let receiving server know all details mailed-by signed-by?

What I am trying to achieve - Bottomline: mails to go in inbox rather spam folder. I have a server which is running postfix (mail server) and I have 3 domains. Mail server is used for both incoming and outgoing mails.. I am signing with opendkim and…
Keval Domadia
  • 587
  • 5
  • 14
3
votes
1 answer

What is the benefit of using DKIM to sign Content Type?

DKIM has the ability to sign headers on a per-header basis. I looked at Google's headers, and they DKIM sign ContentType. What is the security benefit of signing ContentType?
makerofthings7
  • 8,911
  • 34
  • 121
  • 197
3
votes
4 answers

OpenDKIM Filter: Unable to create listening socket

hi i keep getting this error in maillog.any ideas Jul 22 10:16:52 veepiz opendkim[5145]: OpenDKIM Filter: Unable to bind to port inet:20209@localhost: Address already in use Jul 22 10:16:52 veepiz opendkim[5145]: OpenDKIM Filter: Unable to create…
Sir Lojik
  • 397
  • 2
  • 8
  • 20