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'
This commit is contained in:
Pieter Baauw 2015-07-22 19:51:54 +02:00 committed by Willy Tarreau
parent 50bdda6e51
commit ed35c371dc

View File

@ -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
};