find . -type f -iname “*.html” -exec sed -i -e ‘s/before/after/g’ {} \;
Find file from directory then change file encoding
find . -type f -iname “*.html” -exec sh -c ‘iconv -c -f sjis -t utf-8 -o converted “$1” && mv converted “$1″‘ — {} \;
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