isync/src
Oswald Buddenhagen 2fa75cf159 fix UID assignment with some non-UIDPLUS servers
the seznam.cz IMAP server seems very eager to send UIDNEXT responses
despite not supporting UIDPLUS. this doesn't appear to be a particularly
sensible combination, but it's valid nonetheless.

however, that means that we need to save the UIDNEXT value before we
start storing messages, lest imap_find_new_msgs() will simply overlook
them. we do that outside the driver, in an already present field - this
actually makes the main path more consistent with the journal recovery
path.

analysis by Tomas Tintera <trosos@seznam.cz>.

REFMAIL: 20141220215032.GA10115@kyvadlo.trosos.seznam.cz
2015-01-11 14:29:19 +01:00
..
compat stop abusing memcmp() 2014-10-04 18:37:34 +02:00
.gitignore cvsignore => gitignore 2010-02-07 22:31:10 +01:00
common.h stop abusing memcmp() 2014-10-04 18:37:34 +02:00
config.c permit Maildir Stores without a Path 2014-10-04 18:37:33 +02:00
config.h reshuffle sources a bit 2013-12-08 23:19:12 +01:00
driver.c reshuffle sources a bit 2013-12-08 23:19:12 +01:00
driver.h fix UID assignment with some non-UIDPLUS servers 2015-01-11 14:29:19 +01:00
drv_imap.c fix UID assignment with some non-UIDPLUS servers 2015-01-11 14:29:19 +01:00
drv_maildir.c fix UID assignment with some non-UIDPLUS servers 2015-01-11 14:29:19 +01:00
main.c don't leave 2nd store in limbo if opening 1st store fails synchronously 2015-01-02 11:29:51 +01:00
Makefile.am reshuffle sources a bit 2013-12-08 23:19:12 +01:00
mbsync.1 permit IMAP Stores with explicitly empty Path 2014-10-04 18:37:34 +02:00
mbsyncrc.sample pre-release doc updates 2013-12-15 13:46:25 +01:00
mdconvert.1 replace FSF address with something more ... contemporary 2012-09-01 21:15:53 +02:00
mdconvert.c fix hypothetical buffer overflows 2014-04-12 13:03:46 +02:00
run-tests.pl reduce FSync option to a boolean 2013-12-08 11:12:09 +01:00
socket.c fix acceptance of trusted SSL certs 2014-11-08 14:00:28 +01:00
socket.h fix acceptance of trusted SSL certs 2014-11-08 14:00:28 +01:00
sync.c fix UID assignment with some non-UIDPLUS servers 2015-01-11 14:29:19 +01:00
sync.h reshuffle sources a bit 2013-12-08 23:19:12 +01:00
util.c stop abusing memcmp() 2014-10-04 18:37:34 +02:00