search for: lmtp_proxy_escape_address

Displaying 2 results from an estimated 2 matches for "lmtp_proxy_escape_address".

2017 Nov 03
1
Bug: lmtp proxy does not quote local parts with spaces
...8,6 +8,7 @@ #include "ostream.h" #include "str.h" #include "time-util.h" +#include "message-address.h" #include "lmtp-client.h" #include "lmtp-proxy.h" @@ -288,6 +289,24 @@ lmtp_proxy_try_finish(conn->proxy); } +static char *lmtp_proxy_escape_address(pool_t pool, const char *address) { + const char *domain; + string_t *dest; + + domain = strrchr(address, '@'); + dest = str_new(pool, 128); + + if (domain == NULL) { + str_append_maybe_escape(dest, address, FALSE); + } else { + const char *local_part = t_strdup_until(address, domain); +...
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