OpenDkim + Postfix + Centos 11.5 : DKIM check fail (wrong body hash)

From: Charles RUELLE <>
Date: Thu, 26 Dec 2013 11:10:52 +0100


I have a problem to use OpenDKIM + Postfix on Centos release 6.5 with Plesk 11.5

I already installed everything following the tutorial :
and put informations in my domain : 21600 IN TXT "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmZGrX2cMNElnffib4nRh+iwXdvM9U7i2NA9CMz30tD1j9nHu8Uyb+0skacVKMQ57I+rPQM9Vcjfdvc2sEkA4SbDJL4Lx5QutXH88I0vQbrW9okJtUsnlZLZtrT/7k0GOm473cxbT+43QWK/Oc+Z+XqYwiiVj1KjYPzoukFUF2EQIDAQAB\;" 21600 IN TXT "v=DKIM1\; k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCco+lJKmsXM0m62w3/mkibiYUm/thDEDIEXcg4bW63cfl2mrISTrwJK/t4A+C1yGZ4zmGeC2F2+BXxrs5LEkmz7CrASV+Yyecl46Ay76V2P3rFh6CN4n28mgx2eGHR+p+uRa4DlBYoEJlBJwIr/f7tWtJ0GAZHjMsjrF69eXbR4QIDAQAB" 86400 IN TXT "v=spf1 mx ptr ip4: ip4: -all"

But DOMAINKEYS check is NEUTRAL and DKIM Check is FAIL :

THE RESULT FROM The Port25 Solutions, Inc. team
Summary of Results
SPF check: pass
DomainKeys check: neutral
DKIM check: fail
Sender-ID check: pass
SpamAssassin check: ham

DomainKeys check details:
Result: neutral (message not signed)
ID(s) verified:
DNS record(s):

DKIM check details:
Result: fail (wrong body hash: expected 0HXTp+f801Q75aVTE56OzhbPqrCzvkgFEMO0lwScYKE=)
ID(s) verified:
Canonicalized Headers:'0D''0A'

Canonicalized Body:

DNS record(s):

NOTE: DKIM checking has been performed based on the latest DKIM specs
(RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for
older versions. If you are using Port25's PowerMTA, you need to use
version 3.2r11 or later to get a compatible version of DKIM.

Thank you very much for your help,

Received on Thu Dec 26 2013 - 10:11:11 PST

This archive was generated by hypermail 2.3.0 : Thu Dec 26 2013 - 10:18:01 PST