From: Pieter Baauw Date: Wed, 22 Jul 2015 17:51:54 +0000 (+0200) Subject: BUG/MEDIUM: mailer: DATA part must be terminated with . X-Git-Tag: v1.6-dev4~129 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed35c371dc8710547181fd524708e28a47bd7a95;p=thirdparty%2Fhaproxy.git BUG/MEDIUM: mailer: DATA part must be terminated with . The dot is send in the wrong place. As defined in https://www.ietf.org/rfc/rfc2821.txt 'the character sequence "." ends the mail text' --- diff --git a/src/checks.c b/src/checks.c index 2179d4fc7c..e386bee6c9 100644 --- a/src/checks.c +++ b/src/checks.c @@ -3243,8 +3243,8 @@ static int enqueue_one_email_alert(struct email_alertq *q, const char *msg) "Subject: [HAproxy Alert] ", msg, "\n", "\n", msg, "\n", - ".\r\n", "\r\n", + ".\r\n", NULL };