BUG/MEDIUM: mailer: DATA part must be terminated with <CRLF>.<CRLF>

The dot is send in the wrong place.
As defined in https://www.ietf.org/rfc/rfc2821.txt 'the character sequence "<CRLF>.<CRLF>" ends the mail text'
diff --git a/src/checks.c b/src/checks.c
index 2179d4f..e386bee 100644
--- a/src/checks.c
+++ b/src/checks.c
@@ -3243,8 +3243,8 @@
 			"Subject: [HAproxy Alert] ", msg, "\n",
 			"\n",
 			msg, "\n",
-			".\r\n",
 			"\r\n",
+			".\r\n",
 			NULL
 		};