openssl_pkcs7_sign() returns its headers and body with bare LF line breaks. They were copied into the message verbatim, so signed mail was rejected by SMTP servers that enforce RFC 5321 line endings with 550 5.6.11 SMTPSEND.BareLinefeedsAreIllegal. Fixes #3067