Postfix header_check cause dkim fail.

postfix header_check cause dkim fail.

Sep 6 16:27:49 ns99 opendkim[2518]: 37A5B153E: not authenticated
Sep 6 16:27:49 ns99 opendkim[2518]: 37A5B153E: bad signature data

Mail header
X-Spam-Status: No, score=1.4 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM
Authentication-Results: ; dkim=fail reason=”signature verification failed” (2048-bit key) header.d=icloud.com header.i=@icloud.com header.b=”iFv7Kagn”

Remove Mime-version from /etc/postfix/header_checks
/^Mime-Version:/ IGNORE

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.