DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message. The association is set up by means of a digital signature which can be validated by recipients.
Questions tagged [dkim]
495 questions
6
votes
6 answers
How to call a Perl script from Python, piping input to it?
I'm hacking some support for DomainKeys and DKIM into an open source email marketing program, which uses a python script to send the actual emails via SMTP. I decided to go the quick and dirty route, and just write a perl script that accepts an…

Alex Fort
- 18,459
- 5
- 42
- 51
6
votes
0 answers
ARC Sign / Verify in Postfix
I've upgraded my Postfix mail system from opendkim to dkimpy in Debian Stretch using Backports, because I'm trying to implement ARC signing and verification. I was able to get dkimpy working in so far that DKIM verification was done on inbound mail,…

Julian
- 167
- 6
6
votes
2 answers
DKIM fails when sending mails with smtplib
I'm trying to send emails with smtplib and they seem to be delivering fine. The only problem is that DKIM fails and the mails usually go straight to the spam folder.
DKIM is enabled on my shared hosting (host is a2hosting, if that helps) and the…

Aditya Agrawal
- 375
- 1
- 14
6
votes
2 answers
Signing mails sent through SMTP with DKIM
I have setup DKIM in my google apps for mail signing, when sending mails through GMail interface it signs the mail but when I send a mail through my webserver using SMTP (from CodeIgniter) it doesnt signs the mail.
Can anybody help me what should I…

Shishant
- 9,256
- 15
- 58
- 79
6
votes
2 answers
gmail is modifying header(Message-ID) of incoming mails
I sent a mail from my smtp server to gmail.
The message-id that I got is:
Message-ID: SMTPIN_ADDED_BROKEN@mx.google.com>
X-Google-Original-Message-ID:
Gmail appended extra parts in Message-id.
All I got on google that it can be an…

satyam mishra
- 111
- 1
- 6
6
votes
1 answer
SPF + DKIM pass and DMARC fails
The domain s****g.nl has the following DMARC record:
"v=DMARC1; p=reject; rua=mailto:postmaster@s****g.nl,
mailto:dmarc@s****g.nl"
A valid SPF record for the sending mail server and none DKIM record.
The domain fo***de.com has a valid SPF and…

Stefan Groenewoud
- 63
- 1
- 4
6
votes
1 answer
OpenDKIM or dkim-milter
I need to add DKIM to a Postfix installation. I've found two implementations that work with Postfix. OpenDKIM, and dkim-milter dkim-milter. The former claims to be a fork of the latter.
OpenDKIM appears to be the more active project, judging from…

user371320
- 1,388
- 14
- 23
6
votes
3 answers
Cannot install opendkim because cannot find bsd/string.h
I tried to install OpenDKIM 2.9.2 on AWS to generate the DKIM public & private keys. And when I run sudo ./configure --with-openssl=/usr/include/openssl under the opendkim source code folder, it gave me the following error messages.
checking…

Charles
- 675
- 3
- 12
- 21
6
votes
2 answers
DKIM Signature not validating when sending mail with PHP
I was having a problem with gmail/hotmail filtering emails from my server as spam. The Spam Assassin score is quite low so I know that my IP isn't on any blacklists or such which means it is the filtering that gmail/hotmail use stopping the emails…

nmford
- 151
- 2
- 12
6
votes
2 answers
How to verify DKIM signature from an e-mail with openssl?
I've set up opendkim for my postfix and now all outgoing mails have DKIM-Signature heading. What I want to do is to verify manually, withoug DNS and external utilities, preferably with openssl only, that messages are getting correct signature.
So as…

Alex F
- 273
- 4
- 13
5
votes
1 answer
Sending e-mail via PHP, on behalf of someone else
I would like to create a form that allows users to contact our local city council. I want to make it easy, so they can just fill out the form and send it. I am just not 100% sure how this would work in regards to spam filtering.
I know how to send…

Sherwin Flight
- 2,345
- 7
- 34
- 54
5
votes
2 answers
DMARC policy failing for only Google Apps like calender, forms, etc
I have been trying to set up DMARC policy, for my domain. The mail is currently being used with amazon-ses, freshsales, and other related apps.
I was successfully able to test it across, with dmarc policy set to p=none.
Now, moving further I want to…

Aditya Raman
- 90
- 8
5
votes
3 answers
can't load key in OpenDKIM Permission denied
Previously working Dovecot / Postfix / DKIM setup with multiple domains working correctly for months.
I attempted to add a new domain name. Retracing what I did for the original ones. Once I got past most issues, with all config files, keys, text…

Zaehlas
- 63
- 1
- 4
5
votes
1 answer
Proper way to validate DKIM-Signature (b= part)
I'm trying to develop my home email server (with NodeJS on server side but it's not important as I try to figure out principles).
I use this documentation to guide myself through DKIM-Signature validation routine, but it requires some complicated…

MadBrozzeR
- 341
- 3
- 15
5
votes
2 answers
SPF, DKIM and DMARC all set but dmarc-reports keep saying the opposite
I'm losing my mind (again) on something about e-mails.
I have a Kimsufi/OVH (Debian Wheezy 7.10) server. I have postfix and dovecot all set.
My main domain/hostname is mywebsite.fr, and i'm using mywebsite.fr set on mywebsite.fr.
I set spf, dkim and…

Vae
- 636
- 1
- 8
- 16