mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ static int enqueue_one_email_alert(struct proxy *p, struct server *s,
|
|||
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))
|
||||
goto error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue