]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: lmtp-proxy - Support forwarding a broken sender address to the backend LMTP...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Fri, 13 Sep 2019 20:51:04 +0000 (22:51 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Fri, 4 Oct 2019 21:25:54 +0000 (23:25 +0200)
This is subject to configuration.

src/lmtp/lmtp-proxy.c

index f2ac9f01e0f7093d4e3a3bce75eb6b6560ecf353..8d9ee6df52828313649697ca9b939657cdba5133 100644 (file)
@@ -241,6 +241,7 @@ lmtp_proxy_get_connection(struct lmtp_proxy *proxy,
        lmtp_set.ssl = &ssl_set;
        lmtp_set.peer_trusted = !conn->set.proxy_not_trusted;
        lmtp_set.forced_capabilities = SMTP_CAPABILITY__ORCPT;
+       lmtp_set.mail_send_broken_path = TRUE;
 
        if (conn->set.hostip.family != 0) {
                lmtp_conn = smtp_client_connection_create_ip(proxy->lmtp_client,