• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue DKIM signature contains h=Received

raivok

New Pleskian
Hi,

after migrating from plesk 17 to 18 some mailservers fails to verify DKIM - DKIM-Result: fail (wrong body hash:
this happen with mail.com and some others mailservers

Gmail is ok.


And DKIM signature contains h=Recived: tag
But i read that signature must not contain Recived

DomainKeys Identified Mail (DKIM) Signatures Point 5.5

The following header fields SHOULD NOT be included in the signature:
Return-Path
Received
Comments, Keywords
Bcc, Resent-Bcc
DKIM-Signature

CentOS Linux 7.9.2009 (Core)
Plesk Obsidian Version 18.0.35 Update #1

And installed amavisd-new

Best regards
 
My story: I had the same issue on fresh Ubuntu+Plesk. I could not find the cause and finally get broke Postfix :)
My resolve path:

1. Tools&Settings -> Plesk -> Updates: Uninstall Postfix by installing Qmail, then install Postfix by uninstalling Qmail
2. Tools&Settings -> Mail -> Mail Server Settings: Check if signing of outgoing mails are enabled
3. Websites&Doamins -> Mail -> Mail Settings: Force using your server ip and enable use DKIM
4. Websites&Domains -> Hosting&DNS -> DNS Settings: add for any case in spf a:webmail.example.com Can cause by next steps fails if lack
5. by SSH # etc/postfix: in main.cf uncomment and set correct myhostname, mydomain and myorigin
6. Wait, wait…. then by SSH # dig default._domainkey.example.com txt: Your new key is already updated / cached?
7. Mxtoolbox = pass, dkimvalidator = pass, Google fails now! Before Google was OK, all others failed
8. Google DNS flush. Wait, wait… perfect! All over is signed now. Done!

Btw. Test only with new emails no forwarded, re: or so!
 
Last edited:
My story: I had the same issue on fresh Ubuntu+Plesk. I could not find the cause and finally get broke Postfix :)
My resolve path:
Oh joy!

But since there are currently only a few mailservers, there DKIM fail (one of them is our government mailserver), I'm probably leaving things as they are at the moment ...
Mxtoolbox = pass, dkimvalidator = pass, Google = pass, port25 = pass

Thank You @hyazinth !
Best regards!
 
Back
Top