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

Is email deliverability impossible with a .name email address?

I have a dot name domain. .name is an odd TLD: they originally only offered third level domains, eg first.last.name, so that more people could get their own name. They also included the first@last.name email address with each domain registration.…
ryan
  • 246
  • 1
  • 8
5
votes
1 answer

DMARC strict vs relaxed alignment?

I've been configuring DNS records for a mail server and got stuck when it came to DMARC's alignments. I know that both relaxed and strict are valid options, as well as relaxed being default setting. However, I am wondering if there is a commonly…
user305491
4
votes
2 answers

OpenDKIM query timed out (even with opendkim-testkey and Nameservers set)

I try to set up a mail server on Debian with opendkim and opendmarc When I receive an email, SpamAssassin refuse it because opendkim can't do the DNS query I tested with opendkim-testkey command, the DNS query is timed out : $ opendkim-testkey -s…
Tarkok
  • 51
  • 1
  • 6
4
votes
1 answer

Valid DKIM signature ramdomly fails to validate

The scenario: I have a couple email servers running on Debian behind a firewall, a public IP and I have properly setup my DNS records (MCX, DMARC, DKIM, SPF). This is an example of my DNS records (output by dig…
Solrac
  • 448
  • 4
  • 13
4
votes
1 answer

opendkim-testkey returns "invalid data set type", while if I specify domain and selector I got "Key OK"

I'm having the problem that opendkim testkey returns error "invalid data set type" unless I pass the domain and the selector to the command. Why does it happen? Details below: Without domain and selector: root@condor1796 /etc/opendkim # sudo -u…
Mladen Adamovic
  • 599
  • 1
  • 3
  • 14
4
votes
1 answer

DMARC only get reports if emails fails authentication

I have setup DMARC on DNS v=DMARC1; p=none; sp=none; fo=1; ri=3600; rua=mailto:report@domain.com; ruf=mailto:report@domain.com I have set fo to 1 but I still get reports about emails that passed the authentication!? Why?
clarkk
  • 2,035
  • 8
  • 24
  • 36
4
votes
2 answers

When DKIM is installed, will I still be able to send email for my domain from gmail?

Let's say I own example.com, that I install and configure dkim on my server (apt-get install opendkim opendkim-tools, etc.), and that I add the relevant public key to the domain's DNS records. Then when sending email from my server (example: with…
Basj
  • 709
  • 3
  • 11
  • 29
4
votes
2 answers

Milter (opendkim): error connecting to filter: Connection refused by localhost

I'm on Ubuntu 16 LTS, trying to sign mail with opendkim and I'm getting: $ tail /var/log/mail.err ... Milter (opendkim): error connecting to filter: Connection refused by localhost I have sendmail configured with: INPUT_MAIL_FILTER(`opendkim',…
Jeff Kaufman
  • 201
  • 2
  • 8
4
votes
2 answers

How to find out if a domain is using DKIM

If I receive an email from A.com without DKIM-Signature in the header, how could I know if A.com is using DKIM? I am trying to figure out if a domain is using DKIM, but if I didn't or can't receive an email from A.com, how could I konw if A.com is…
Hang Hu
  • 53
  • 1
  • 3
4
votes
1 answer

Two servers, same email sent from both, Gmail sees only one as spam

I've been working on this problem for years with no success (I gave up a while back and just hoped Gmail would eventually "learn" that messages from one of my servers wasn't spam, but that apparently never happened). I'm a game developer who runs…
Jason Rohrer
  • 193
  • 1
  • 6
4
votes
1 answer

Improve Spam Confidence Level (SCL) for outgoing emails

I have a postfix SMTP server on Ubuntu. I have valid SPF and DKIM records, as verified by the email header my customer received. Authentication-Results: spf=pass (sender IP is XXX.XXX.XXX.XXX) smtp.mailfrom=mydomain.com; hotmail.com; dkim=pass…
Raptor
  • 1,001
  • 4
  • 19
  • 38
4
votes
3 answers

mails fom my mailserver go to spam folder of hotmail.com

I set up a mail server with dovecot/postfix on a debian server. I don't send commercial mail or newsletters. We are only 4 users and nobody send SPAM. We only send classical mails (no large pictures or to many links). We just use it to…
Kettbi
  • 41
  • 1
  • 3
4
votes
1 answer

Exchange mailbox forwarding - emails fail dkim body hash

Exchange is modifying emails before forwarding them out to an external Google Apps account. I'm hoping to find a way to fix this. Here's some more detail: Using Exchange 2010 SP3 Version 14.3.123.4 The exchange server is forwarding email of some…
David
  • 53
  • 3
4
votes
1 answer

correct order for Postfix milters

I use the following milters with Postfix: ClamAV, OpenDKIM, OpenDMARC, Rspamd This is also the order they are being called via smtpd_milters. What would be the best order for them regarding performance, resources and spam protection?
basbebe
  • 313
  • 2
  • 16
4
votes
2 answers

Only enable SRS when forwarding to enable DMARC

I am setting up a mail server on my VPS and in order to prevent spam and being marked as spam I have enabled SPF, DKIM and DMARC. However, I do not want to host my own mailbox, so I forward the incoming mail to external mail accounts, e.g. Gmail.…
Matthijs Steen
  • 221
  • 2
  • 6