From: Stephan Bosch Date: Mon, 3 Dec 2018 17:45:43 +0000 (+0100) Subject: submission: relay backend: Don't bother updating the protocol in proxy data. X-Git-Tag: 2.3.5~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0932c42a7c240a900987d733ebc086b9aefd26b3;p=thirdparty%2Fdovecot%2Fcore.git submission: relay backend: Don't bother updating the protocol in proxy data. Old SMTP clients cannot use the submission service, since these cannot perform the required authentication. --- diff --git a/src/submission/submission-backend-relay.c b/src/submission/submission-backend-relay.c index f569bf6f11..6db7318453 100644 --- a/src/submission/submission-backend-relay.c +++ b/src/submission/submission-backend-relay.c @@ -239,8 +239,6 @@ relay_cmd_helo_update_xclient(struct submission_backend_relay *backend, i_zero(&proxy_data); proxy_data.helo = data->helo.domain; - proxy_data.proto = (data->helo.old_smtp ? - SMTP_PROXY_PROTOCOL_SMTP : SMTP_PROXY_PROTOCOL_ESMTP); smtp_client_connection_update_proxy_data(backend->conn, &proxy_data); smtp_client_connection_send_xclient(backend->conn);