`maxuid' issues in src/drv_imap.c

2016-11-17 Thread Casper Ti. Vector
When querying the imap mailbox for all messages with UID in [1,inf], isync currently hardcodes the upper limit to 10, which can actually be exceeded, which results in missing messages on the slave. This is not merely theoretical: I missed a message with UID=1343495243 just now; and after r

Re: `maxuid' issues in src/drv_imap.c

2016-11-24 Thread Casper Ti. Vector
On Sun, Nov 20, 2016 at 11:45:52AM +0100, Oswald Buddenhagen wrote: > maybe mail me the output of a run with -Dn for a closer look. Done in private mail. > the 1e9 was just chosen to make the query string legible. sending the > INT_MAX verbatim would be more correct. Looked at the IMAP spec just