MINOR: mailers: use <CRLF> for all line endings
authorPieter Baauw <piba.nl.dev@gmail.com>
Sat, 13 Feb 2016 15:27:35 +0000 (16:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 Feb 2016 09:19:09 +0000 (10:19 +0100)
commit5e0964ed01a27566183f19a57ac2c3357b39acee
treede49ca9e2074528800478bedc844265420e6a8ad
parent46af170e41d534d7d8b90b50667879d741359d95
MINOR: mailers: use <CRLF> for all line endings

Not doing so causes issues with Exchange2013 not processing the message
body from the email. Specification seems to specify that as correct
behavior : https://www.ietf.org/rfc/rfc2821.txt # 2.3.7 Lines

 > SMTP client implementations MUST NOT transmit "bare" "CR" or "LF" characters.

This patch should be backported to 1.6.

Acked-by: Simon Horman <horms@verge.net.au>
src/checks.c