Displaying 2 results from an estimated 2 matches for "lmtp_client_add_rcpt_params".
2017 Nov 03
1
Bug: lmtp proxy does not quote local parts with spaces
..., struct lmtp_proxy_recipient, 1);
rcpt->idx = array_count(&proxy->rcpt_to);
rcpt->conn = conn;
- rcpt->address = p_strdup(proxy->pool, address);
+ rcpt->address = lmtp_proxy_escape_address(proxy->pool, address);
array_append(&proxy->rcpt_to, &rcpt, 1);
- lmtp_client_add_rcpt_params(conn->client, address, &set->params,
+ lmtp_client_add_rcpt_params(conn->client, rcpt->address, &set->params,
lmtp_proxy_conn_rcpt_to,
lmtp_proxy_conn_data, rcpt);
return 0;
-------------- next part --------------
--- dovecot-2.2.33.2/src/lib-mail/mail-use...
2017 Nov 01
2
Bug: lmtp proxy does not quote local parts with spaces
Hi again,
I've not heard anything further regarding this bug, so I've had a look at the code.
To restate the bug in a more precise way: LMTP in dovecot treats external RFC822
email addresses in the envelope recipient and internal usernames as almost
identical/interchangeable. This is incorrect and leads to issues when attempting
to use director as an LMTP proxy to proxy to recipients