viric
viric
I notice that in checkmessage() the turbo mode does an sql select query for every possible message to check if the message is there. This is a lot of work;...
Gmail simply closes the socket due to that much inactivity during the first stage of the TURBO MODE. Once having the list of uids on memory, and checking there instead...
I just tried. I got, with turbo mode, with the old maildir directory that had some letters: Exception! Clearing locks and safing database. Traceback (most recent call last): File "./imap2maildir",...
Here you have it: >>> server.uid('FETCH', 165982, '(RFC822)') ('OK', [('43816 (UID 165982 RFC822 {5523}', 'Delivered-To: [email protected]\r\nReceived: by 10.142.169.1 with SMTP id r1cs178792wfe;\r\n Sun, 28 Sep 2008 07:49:53 -0700 (PDT)\r\nReceived: by...
Sorry, I notice it is a problem of imaplib, still in python2,.7 and python3. I'll have to get around it somehow.
I had the chance to investigate the issue more. My mailbox has messages from a specific person that, when he wrote long Subjects, his letters were written with an RFC...
Once I success getting all my gmail mail, I'll try to write something worth sending, for that bug.
Ouch - my quick hack worked for the case I had, but I got a new more difficult to defeat, also failing in the python library, not your code: Date:...
Oh I just noticed this: https://github.com/rc0/mairix/pull/16/files
It's not so easy... The db is managed as a storage of uint. In this line, the mbox size is mapped from size_t to int: https://github.com/rc0/mairix/blob/master/writer.c#L402 I report this because...