From ed35c371dc8710547181fd524708e28a47bd7a95 Mon Sep 17 00:00:00 2001 From: Pieter Baauw Date: Wed, 22 Jul 2015 19:51:54 +0200 Subject: [PATCH] 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' --- src/checks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; -- 2.47.3