search for: dest_r

Displaying 3 results from an estimated 3 matches for "dest_r".

2017 Oct 26
2
Bug: lmtp proxy does not quote local parts with spaces
On 26/10/2017 18:38, Alexander Dalloz wrote: > Am 26.10.2017 um 12:20 schrieb David Zambonini: >> >> There seems to be a bug with RFC822 processing in ltmp proxying that >> doesn't >> quote local parts that, for example, contain spaces. > > Newer related RFCs are RFC 5321 and 5322. Typo, meant to say RFC2822, which they still supercede, not that the
2017 Nov 01
2
Bug: lmtp proxy does not quote local parts with spaces
..."rfc822-parser.h" #include "lmtp-client.h" #include <ctype.h> @@ -778,6 +779,73 @@ client->data_header = p_strdup(client->pool, str); } +/* similar to (private) str_append_maybe_escape() in lib-mail */ +static void lmtp_client_rfc822_escape_address(string_t *dest_r, const char *str) +{ + const char *p; + const char *domain; + + /* no strrchrnul */ + domain = strrchr(str, '@'); + if (domain == NULL) { + domain = str; + while (*domain != '\0') + domain++; +...
2018 Aug 02
2
Duplicate mails on pop3 expunge with dsync replication on 2.2.35 (2.2.33.2 works)
...uthors, see the included COPYING file */ #include "lib.h" #include "istream.h" +#include "mail-storage-private.h" +#include "dsync-brain-private.h" #include "dsync-mailbox.h" void dsync_mailbox_attribute_dup(pool_t pool, @@ -20,3 +22,40 @@ dest_r->last_change = src->last_change; dest_r->modseq = src->modseq; } + +int dsync_mailbox_lock(struct dsync_brain *brain, struct mailbox *box, + struct file_lock **lock_r) +{ + const char *path, *error; + int ret; + + /* Make sure the mailbox is open - locking requires it */ + if...