mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +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;
|
||||
|
||||
{
|
||||
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 New Issue
Block a user