mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
BUG/MINOR: mailers: negotiate SMTP, not ESMTP
As per issue #1552 the mailer code currently breaks on ESMTP multiline responses. Let's negotiate SMTP instead. Should be backported to 2.0.
This commit is contained in:
parent
5085bc3103
commit
1a16e4ebcb
@ -195,7 +195,7 @@ static int enqueue_one_email_alert(struct proxy *p, struct server *s,
|
|||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
{
|
{
|
||||||
const char * const strs[4] = { "EHLO ", p->email_alert.myhostname, "\r\n" };
|
const char * const strs[4] = { "HELO ", p->email_alert.myhostname, "\r\n" };
|
||||||
if (!add_tcpcheck_send_strs(&alert->rules, strs))
|
if (!add_tcpcheck_send_strs(&alert->rules, strs))
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user