Skip to content

Commit

Permalink
submission: relay backend: Don't bother updating the protocol in prox…
Browse files Browse the repository at this point in the history
…y data.

Old SMTP clients cannot use the submission service, since these cannot perform
the required authentication.
  • Loading branch information
stephanbosch authored and villesavolainen committed Feb 12, 2019
1 parent fdc3046 commit 0932c42
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/submission/submission-backend-relay.c
Expand Up @@ -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);
Expand Down

0 comments on commit 0932c42

Please sign in to comment.