Hello,
The authentication results done by mx.google.com imply there's something different in the respecitve body between the messages you send on the command line and the ones which are send by a cron job: 'body hash did not verify'. One common problem with OpenDKIM are irregular line endings.
I've been trying to put into action DKIM information singing with the assist of your collection.
The services that I've become using for validating DKIM is usually: http://dkimvalidator.com/
The services that I've become using for validating DKIM is usually: http://dkimvalidator.com/
The DKIM signature validation goes by if I construct a basic mail message. The DKIM personal verification fails if information Content-Type is certainly: multipart/alternate (technique GenerateWithBodyBuilder).
It furthermore breaks down at Gmail (dkim=natural (body hash do not verify) [email protected]).
It furthermore breaks down at Gmail (dkim=natural (body hash do not verify) [email protected]).
First message received by dkimvalidator.com:
Obtained: from 127.0.0.1(unknown 212.18.43.120)
by ip-10-212-6-2 (Postfix) with ESMTPS id F1F4B38065F
for [email protected]; Get married, 7 March 2015 11:14:07 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; m=dev.postar.european union; s=postar1024;
d=relaxed/relaxed; testosterone levels=1444223643; l=from:to:subject? message-id;
bh=YFTLzdVcmulRq0rD7JHqdnjql/4m85WwE3/d73oFChw=;
n=Lauijgc+6haOkOfEsxpEO2VggdplHNM+o9jRlslyr6AmZnqmnfdy/oIaFpF5l4UD7VnugXZ3Yec
Chemical9zfbrkHBSWZ17NtdLkk4SuCoLgkXA1e6XBiqKjFaDxpvbd4FXjUQYVgZ0/1dHS1Nf9zrTHes1/Pg
suCrbCWRWZhnShtdtj0=
From: Joey joey@close friends.com
To: DKIM [email protected]
Time: Wed, 07 April 2015 13:14:03 +0200
Subject: DKIM signature bank validation test which does not work out
Message-Id: M4AZVVINBWT4.1T8A1MBARP1G2@Rok
MIME-Version: 1.0
Content-Type: multipart/substitute; boundary='=-CXTofpVZkZ2ZpmOk5gu3fQ'
X-Antivirus: avast! (VPS 151007-1, 07.10.2015), Outbound message
X-Antivirus-Status: Clear
by ip-10-212-6-2 (Postfix) with ESMTPS id F1F4B38065F
for [email protected]; Get married, 7 March 2015 11:14:07 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; m=dev.postar.european union; s=postar1024;
d=relaxed/relaxed; testosterone levels=1444223643; l=from:to:subject
bh=YFTLzdVcmulRq0rD7JHqdnjql/4m85WwE3/d73oFChw=;
n=Lauijgc+6haOkOfEsxpEO2VggdplHNM+o9jRlslyr6AmZnqmnfdy/oIaFpF5l4UD7VnugXZ3Yec
Chemical9zfbrkHBSWZ17NtdLkk4SuCoLgkXA1e6XBiqKjFaDxpvbd4FXjUQYVgZ0/1dHS1Nf9zrTHes1/Pg
suCrbCWRWZhnShtdtj0=
From: Joey joey@close friends.com
To: DKIM [email protected]
Time: Wed, 07 April 2015 13:14:03 +0200
Subject: DKIM signature bank validation test which does not work out
Message-Id: M4AZVVINBWT4.1T8A1MBARP1G2@Rok
MIME-Version: 1.0
Content-Type: multipart/substitute; boundary='=-CXTofpVZkZ2ZpmOk5gu3fQ'
X-Antivirus: avast! (VPS 151007-1, 07.10.2015), Outbound message
X-Antivirus-Status: Clear
-=-CXTofpVZkZ2ZpmOk5gu3fQ
Content-Type: text message/plain; charset=utf-8
Content-Type: text message/plain; charset=utf-8
Hey Alice,
What are you up to this weekend break? Monica will be throwing 1 of her events on
Sunday and I had been hoping you could make it.
Sunday and I had been hoping you could make it.
Will you end up being my +1?
- Joey
-=-CXTofpVZkZ2ZpmOk5gu3fQ
Content-Type: text message/html; charset=utf-8
Content-Id: P053WVINBWT4.6J52K8AU0Horsepower12@Rok
Content-Type: text message/html; charset=utf-8
Content-Id: P053WVINBWT4.6J52K8AU0Horsepower12@Rok
Hey Alice
-=-CXTofpVZkZ2ZpmOk5gu3fQ-
DKIM Personal validation:
DKIM Information:
DKIM Signature bank
Information contains this DKIM Signature bank:
DKIM-Signature: v=1; a=rsa-sha256; n=dev.postar.eu; beds=postar1024;
c=relaxed/relaxed; testosterone levels=1444223643; l=from:to:subject? message-id;
bh=YFTLzdVcmulRq0rD7JHqdnjql/4m85WwE3/c73oFChw=;
n=Lauijgc+6haOkOfEsxpEO2VggdplHNM+o9jRlslyr6AmZnqmnfdy/oIaFpF5l4UD7VnugXZ3Yec
D9zfbrkHBSWZ17NtdLkk4SuCoLgkXA1e6XBiqKjFaDxpvbd4FXjUQYVgZ0/1dHS1Nf9zrTHes1/Pg
suCrbCWRWZhnShtdtj0=
DKIM-Signature: v=1; a=rsa-sha256; n=dev.postar.eu; beds=postar1024;
c=relaxed/relaxed; testosterone levels=1444223643; l=from:to:subject
bh=YFTLzdVcmulRq0rD7JHqdnjql/4m85WwE3/c73oFChw=;
n=Lauijgc+6haOkOfEsxpEO2VggdplHNM+o9jRlslyr6AmZnqmnfdy/oIaFpF5l4UD7VnugXZ3Yec
D9zfbrkHBSWZ17NtdLkk4SuCoLgkXA1e6XBiqKjFaDxpvbd4FXjUQYVgZ0/1dHS1Nf9zrTHes1/Pg
suCrbCWRWZhnShtdtj0=
Trademark Information:
v= Edition: 1
a= Criteria: rsa-sha256
c= Technique: relaxed/relaxed
m= Site: dev.postar.eu
s= Selector: postar1024
q= Protocol:
bh= YFTLzdVcmulRq0rD7JHqdnjql/4m85WwE3/d73oFChw=
h= Agreed upon Headers: from:to:subject matter? message-id
b= Data: Lauijgc+6haOkOfEsxpEO2VggdplHNM+o9jRlslyr6AmZnqmnfdy/oIaFpF5d4UD7VnugXZ3Yec
D9zfbrkHBSWZ17NtdLkk4SuCoLgkXA1e6XBiqKjFaDxpvbd4FXjUQYVgZ0/1dHS1Nf9zrTHes1/Pg
suCrbCWRWZhnShtdtj0=
Public Key DNS Look for
v= Edition: 1
a= Criteria: rsa-sha256
c= Technique: relaxed/relaxed
m= Site: dev.postar.eu
s= Selector: postar1024
q= Protocol:
bh= YFTLzdVcmulRq0rD7JHqdnjql/4m85WwE3/d73oFChw=
h= Agreed upon Headers: from:to:subject matter
b= Data: Lauijgc+6haOkOfEsxpEO2VggdplHNM+o9jRlslyr6AmZnqmnfdy/oIaFpF5d4UD7VnugXZ3Yec
D9zfbrkHBSWZ17NtdLkk4SuCoLgkXA1e6XBiqKjFaDxpvbd4FXjUQYVgZ0/1dHS1Nf9zrTHes1/Pg
suCrbCWRWZhnShtdtj0=
Public Key DNS Look for
Building DNS Problem for postar1024.domainkey.dev.postar.eu
Gathered this publickey from DNS: sixth is v=DKIM1;g=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4j/gLQVfpgJFtoflMnVS77zZq+EIC2mmZUN/rSyRTx2B4Q16/YLDy39AvL+A05gIpXR5DCJnga1h6345aVVQ6ktB1lyA+oJ4gacOswPdIgcWgSb+4d/1eJzICSmeAEwghV5SXx4WkWO8Js8ZVIjrH2l1e0fJGI30c7TmxJZ8s2wIDAQAB
Validating Signature
Gathered this publickey from DNS: sixth is v=DKIM1;g=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4j/gLQVfpgJFtoflMnVS77zZq+EIC2mmZUN/rSyRTx2B4Q16/YLDy39AvL+A05gIpXR5DCJnga1h6345aVVQ6ktB1lyA+oJ4gacOswPdIgcWgSb+4d/1eJzICSmeAEwghV5SXx4WkWO8Js8ZVIjrH2l1e0fJGI30c7TmxJZ8s2wIDAQAB
Validating Signature
result = fall short
Details: body provides been modified
Details: body provides been modified
Illustration program code:
I've up to date from 5.2.24 to the latest edition of PHPMailer, and now Gmail tells me DKIM is incorrect.
DeIivered-To: [email protected]
Obtained: by 10.100.144.72 with SMTP id con8csp726914pjd;
Wed, 27 Dec 2017 04:40:54 -0800 (PST)
X-Google-Smtp-Source: ACJfBovYbzz51IQLk2PgyO7OMRkeIxJEAO6O+IpwWbEVMeDg6vW1gOysz5pISaPvyKDxyCYIRwaS
X-Received: by 10.223.139.16 with SMTP id n16mur22857434wra.84.1514378454606;
Wed, 27 December 2017 04:40:54 -0800 (PST)
ARC-Seal: i actually=1; a=rsa-sha256; testosterone levels=1514378454; cv=none;
g=google.com; h=arc-20160816;
n=krFIyyRZ60UzNl2dQAxAE9svu+buKF7gCXwLBI/6FrHUkYKlTAKCwN9Sz8Wm/DbBI4
ug8Fc2lt+nBklCi5oTPeE2UEE5yhFmDJfoP3SCgtgpGcpQoY7BeRcfwCF9p2E+Upg3R0
Pjaxc7Tego0ZqXuZ8uQDU9E9Scc63w25q7kakhlJvYTSZOQ3YW2AOyXTZZDM76qIYTMj
2GCfVbn6Watts/X9qsCXmvcá4H8L3nELN1q1AwHndN+JzNQ9P7NORZhLK8QóCNb2/lSDIcuP
lcdJVbLMr+IE0sPYun9YjH3fB6IDW7JQZGá8tCLLXqLB9nvrSviu9k7zy4H08Y2ERnSd
gL1g
ARC-Message-Signature: i actually=1; a=rsa-sha256; g=relaxed/relaxed; d=google.com; h=arc-20160816;
h=dkim-signature:mime-version:message-id:from? subject:to
:árc-authentication-resuIts;
bh=CXb2+/T8hzVnoTsvboqUxdxqf2zd0oGlFp7Et4jxCn8=;
w=vA60wfK1TXjkzVI4zcKrctWvw7NnBXcDdq45gHyRcuEOxmIf/C4CWDfP5/2dc9rhFm
7ZnEAnlBGSMtMXiBgGV+T2S+csMKLw0samIe3/GfHC5zQp62u014g8PIr0oi9WVpDL92
wn1wbJz/ya14IMmWSCKveeqR7Lgt/va7rBqNmS/RYg30a7f3yT08aZcY9pBAi8Y9ksRB
NgGwXUdQ2aFgIofJ6Rjls9HYpMcqUmbj2VGJunyaoeSEp7IUjyGq7Ylqs/xPhaIgNRGg
jV+NXLE3SZjpuN61ItmTSxiSv5f5oCxtO7fPZINryyVlkMQndEwK2OzV8KG7qMvvCYOQ
h49Q
ARC-Authentication-Results: i=1; mx.google.com;
dkim=neutral (body hash do not confirm) header.i [email protected] header.s i9000=mail header.n=Tg0IurnR;
spf=move (google.com: domains of [email protected] designates 188.165.221.81 as permitted sender) [email protected];
dmarc=pass (g=QUARANTINE sp=None of them dis=None of them) header.from=area.com
Réturn-Path: [email protected]
Received: from domain.com (area.com. 188.165.221.81)
by mx.search engines.com with ESMTPS identity 76si13856222wmv.102.2017.12.27.04.40.54
for [email protected]
(version=TLS12 cipher=ECDHE-RSA-AES128-GCM-SHA256 pieces=128/128);
Get married, 27 December 2017 04:40:54 -0800 (PST)
Received-SPF: move (search engines.com: domain name of [email protected] designates 188.165.221.81 as permitted sender) client-ip=188.165.221.81;
Authentication-Results: mx.search engines.com;
dkim=neutral (body hash did not confirm) [email protected] header.s i9000=mail header.b=Tg0IurnR;
spf=pass (search engines.com: domains of noreply@domain name.com designates 188.165.221.81 as permitted sender) [email protected];
dmarc=pass (g=QUARANTINE sp=NONE dis=Nothing) header.from=site.com
Obtained: by area.com (Postfix, fróm userid 10000) id 256F34E00A2; Wed, 27 December 2017 13:40:54 +0100 (CET)
To: [email protected]
Issue: BGO Check mail2
X-PHP-Originating-Script: 0:PHPMailer.php
Time: Get married, 27 December 2017 13:40:54 +0100
From: Plank Game Online [email protected]
Méssage-ID: [email protected]óm
X-MaiIer: PHPMailer 6.0.2 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text message/html; charset=isó-8859-1
DKIM-Signature: v=1; a=rsa-sha256; queen=dns/txt; t=68; beds=mail; capital t=1514378454; g=relaxed/simple; l=From:To:Day:Subject; d=domain.com; z=From:[email protected] To:[email protected] Day:=20Wmale impotence,=2027=20Dec=202017=2013:40:54=20+0100 Subject matter:=20BMove=20Test=20mail2; bh=SwEF1/at the+vtQis72heIO6oKYjZlVOnusSaRi/jV3IvoE=; t=Tg0IurnRbGw5xKjdzFMlCWTup/Kywo2Til+WPyviCjcsx3f/9n3zKxK2loya2auVDsuWc1Zz57JcH3javAM/ozkHBVDKboV93XpiiqTsJSsGb5Z0eP9hGPybyWwr99kh3bVK0A7npTR29LC8sRDI4e9nMYTb4HSn/CZSJy1+uHGOgn1FHTgD22qYIqlwfErJqTOmW1gpMcH+foxOw57EHLdgDDpfvGbJP+ygu1RJB+xMEEdl0hs87KUUMgC8fNezYDVCnxx/NSROe8coXgHEeku41iMtlC4nlrlaw8z8gyt2qozCqjz90FYlbZRW+kG7aIpNkaklpc2eh5nesaxxlg
Hi,Obtained: by 10.100.144.72 with SMTP id con8csp726914pjd;
Wed, 27 Dec 2017 04:40:54 -0800 (PST)
X-Google-Smtp-Source: ACJfBovYbzz51IQLk2PgyO7OMRkeIxJEAO6O+IpwWbEVMeDg6vW1gOysz5pISaPvyKDxyCYIRwaS
X-Received: by 10.223.139.16 with SMTP id n16mur22857434wra.84.1514378454606;
Wed, 27 December 2017 04:40:54 -0800 (PST)
ARC-Seal: i actually=1; a=rsa-sha256; testosterone levels=1514378454; cv=none;
g=google.com; h=arc-20160816;
n=krFIyyRZ60UzNl2dQAxAE9svu+buKF7gCXwLBI/6FrHUkYKlTAKCwN9Sz8Wm/DbBI4
ug8Fc2lt+nBklCi5oTPeE2UEE5yhFmDJfoP3SCgtgpGcpQoY7BeRcfwCF9p2E+Upg3R0
Pjaxc7Tego0ZqXuZ8uQDU9E9Scc63w25q7kakhlJvYTSZOQ3YW2AOyXTZZDM76qIYTMj
2GCfVbn6Watts/X9qsCXmvcá4H8L3nELN1q1AwHndN+JzNQ9P7NORZhLK8QóCNb2/lSDIcuP
lcdJVbLMr+IE0sPYun9YjH3fB6IDW7JQZGá8tCLLXqLB9nvrSviu9k7zy4H08Y2ERnSd
gL1g
ARC-Message-Signature: i actually=1; a=rsa-sha256; g=relaxed/relaxed; d=google.com; h=arc-20160816;
h=dkim-signature:mime-version:message-id:from
:árc-authentication-resuIts;
bh=CXb2+/T8hzVnoTsvboqUxdxqf2zd0oGlFp7Et4jxCn8=;
w=vA60wfK1TXjkzVI4zcKrctWvw7NnBXcDdq45gHyRcuEOxmIf/C4CWDfP5/2dc9rhFm
7ZnEAnlBGSMtMXiBgGV+T2S+csMKLw0samIe3/GfHC5zQp62u014g8PIr0oi9WVpDL92
wn1wbJz/ya14IMmWSCKveeqR7Lgt/va7rBqNmS/RYg30a7f3yT08aZcY9pBAi8Y9ksRB
NgGwXUdQ2aFgIofJ6Rjls9HYpMcqUmbj2VGJunyaoeSEp7IUjyGq7Ylqs/xPhaIgNRGg
jV+NXLE3SZjpuN61ItmTSxiSv5f5oCxtO7fPZINryyVlkMQndEwK2OzV8KG7qMvvCYOQ
h49Q
ARC-Authentication-Results: i=1; mx.google.com;
dkim=neutral (body hash do not confirm) header.i [email protected] header.s i9000=mail header.n=Tg0IurnR;
spf=move (google.com: domains of [email protected] designates 188.165.221.81 as permitted sender) [email protected];
dmarc=pass (g=QUARANTINE sp=None of them dis=None of them) header.from=area.com
Réturn-Path: [email protected]
Received: from domain.com (area.com. 188.165.221.81)
by mx.search engines.com with ESMTPS identity 76si13856222wmv.102.2017.12.27.04.40.54
for [email protected]
(version=TLS12 cipher=ECDHE-RSA-AES128-GCM-SHA256 pieces=128/128);
Get married, 27 December 2017 04:40:54 -0800 (PST)
Received-SPF: move (search engines.com: domain name of [email protected] designates 188.165.221.81 as permitted sender) client-ip=188.165.221.81;
Authentication-Results: mx.search engines.com;
dkim=neutral (body hash did not confirm) [email protected] header.s i9000=mail header.b=Tg0IurnR;
spf=pass (search engines.com: domains of noreply@domain name.com designates 188.165.221.81 as permitted sender) [email protected];
dmarc=pass (g=QUARANTINE sp=NONE dis=Nothing) header.from=site.com
Obtained: by area.com (Postfix, fróm userid 10000) id 256F34E00A2; Wed, 27 December 2017 13:40:54 +0100 (CET)
To: [email protected]
Issue: BGO Check mail2
X-PHP-Originating-Script: 0:PHPMailer.php
Time: Get married, 27 December 2017 13:40:54 +0100
From: Plank Game Online [email protected]
Méssage-ID: [email protected]óm
X-MaiIer: PHPMailer 6.0.2 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text message/html; charset=isó-8859-1
DKIM-Signature: v=1; a=rsa-sha256; queen=dns/txt; t=68; beds=mail; capital t=1514378454; g=relaxed/simple; l=From:To:Day:Subject; d=domain.com; z=From:[email protected] To:[email protected] Day:=20Wmale impotence,=2027=20Dec=202017=2013:40:54=20+0100 Subject matter:=20BMove=20Test=20mail2; bh=SwEF1/at the+vtQis72heIO6oKYjZlVOnusSaRi/jV3IvoE=; t=Tg0IurnRbGw5xKjdzFMlCWTup/Kywo2Til+WPyviCjcsx3f/9n3zKxK2loya2auVDsuWc1Zz57JcH3javAM/ozkHBVDKboV93XpiiqTsJSsGb5Z0eP9hGPybyWwr99kh3bVK0A7npTR29LC8sRDI4e9nMYTb4HSn/CZSJy1+uHGOgn1FHTgD22qYIqlwfErJqTOmW1gpMcH+foxOw57EHLdgDDpfvGbJP+ygu1RJB+xMEEdl0hs87KUUMgC8fNezYDVCnxx/NSROe8coXgHEeku41iMtlC4nlrlaw8z8gyt2qozCqjz90FYlbZRW+kG7aIpNkaklpc2eh5nesaxxlg
Another small test.