After migration DKIM verification fails: dkim=fail (body hash did not verify)

Follow

Comments

5 comments

  • Avatar
    Marcos Martinez

    I only have this issue when the recipient is hotmail, for yahoo, gmail, and other DKIM is working fine. I've tried the two workarounds but it did not work.

    Any idea why I only have this issue with hotmail accounts?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov (Edited )

    Hello @Marcos, please, try this instruction to troubleshoot the issue.

    0
    Comment actions Permalink
  • Avatar
    Raivo Kaldma (Edited )

    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.

    I tried both 2 workarounds, no help.

    And DKIM signature contains h=Recived: tag
    But i read that signature must not contain Recived (http://dkim.org/specs/rfc4871-dkimbase.html 5.5

    The following header fields SHOULD NOT be included in the signature:

    • Return-Path
    • Received
    • Comments, Keywords
    • Bcc, Resent-Bcc
    • DKIM-Signature



    0
    Comment actions Permalink
  • Avatar
    Benjamin Brummer (Edited )

    The same for me both solutions did not work. Body Hash is always invalid. Switched DKIM of for now.

    Reinstalled postfix, enabled disabled DKIM for domains and for the whole server, but no way to fix the issue.

    Ubuntu 20.04 + Plesk 18.0.43 Update 1

    0
    Comment actions Permalink
  • Avatar
    Fatih Orhan (Edited )

    The same goes here! DKIM body hash is not correct even if DKIM public key from Plesk is used and verified.

    The expected body hash is listed below

    https://docs.plesk.com/en-US/obsidian/customer-guide/mail-settings/enabling-dkim-email-signing.74718/

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request