]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
submission: relay backend: Don't bother updating the protocol in proxy data.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 3 Dec 2018 17:45:43 +0000 (18:45 +0100)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 12 Feb 2019 13:42:07 +0000 (15:42 +0200)
Old SMTP clients cannot use the submission service, since these cannot perform
the required authentication.

src/submission/submission-backend-relay.c

index f569bf6f118ec32339e5f7832762cbf91aa1d170..6db7318453cc0dc77a92a1bb53979ff07a67b2b1 100644 (file)
@@ -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);