java-libpst icon indicating copy to clipboard operation
java-libpst copied to clipboard

Thousands of emails missed from an OST 2013

Open lfcnassif opened this issue 8 years ago • 9 comments

pffexport tool (from libpff) exports about 30k non deleted emails and attachments from a 2.8 GB 2013 OST while java-libpst extracts about 17k items from the same OST. It contains private data, but I can share privately if you want to dig into and investigate.

lfcnassif avatar Jun 16 '17 16:06 lfcnassif

Used scanpst to check if the ost was corrupted. It fixed some things, but java-libpst is still missing about 3200 from 13700 emails and 10000 from 17000 attachments.

lfcnassif avatar Jun 16 '17 18:06 lfcnassif

Looking at the results with more attention, a lot of folders (with lots of emails) are being missed by java-libpst

lfcnassif avatar Jun 16 '17 21:06 lfcnassif

that would be great if you don't mind! You could upload it to something like dropbox and email me a link: libpst AT rjohnson.id.au

The biggest challenge for me in implementing fixes is getting decent examples to work with.

rjohnsondev avatar Jun 17 '17 10:06 rjohnsondev

Hi Richard, I have sent the link to you.

lfcnassif avatar Jun 20 '17 18:06 lfcnassif

Cool, I requested access with the email address for my google account.

rjohnsondev avatar Jun 21 '17 00:06 rjohnsondev

Hi Richard, any progress here? Do you need any help?

lfcnassif avatar Jul 03 '17 19:07 lfcnassif

Hey, unfortunately not despite best intentions. Contributions are always welcome; with this particular scenario it sounds like this child items table is the incorrect thing to look at, or is too large for a single block thus requiring some additional logic somewhere https://github.com/rjohnsondev/java-libpst/blob/develop/src/main/java/com/pff/PSTFolder.java#L123

rjohnsondev avatar Jul 03 '17 21:07 rjohnsondev

Generally the library will try to build it's own internal tree based on other "parent" identifiers if there is anything wrong with the child-items table: https://github.com/rjohnsondev/java-libpst/blob/304c0ac33fb0b7c120d387c56ea0f3e1c312137c/src/main/java/com/pff/PSTFolder.java#L158

rjohnsondev avatar Jul 03 '17 21:07 rjohnsondev

It's definitely a serious issue. I'm also waiting until it is fixed to start using java-libpst again.

fsicoli avatar Jul 18 '18 18:07 fsicoli