libyal / libpff

Library and tools to access the Personal Folder File (PFF) and the Offline Folder File (OFF) format
GNU Lesser General Public License v3.0
286 stars 74 forks source link

Complete Internet Headers not written after around 200 emails #50

Closed AniketBhadane closed 6 years ago

AniketBhadane commented 6 years ago

In folder.export\Root - Mailbox\IPM_SUBTREE\Inbox\, on opening messages after around 200, I can see that partial headers are present in Internet Headers text file. Why?

I'm running the program as: pffexport.exe -f all -m all -t folder file.ost

joachimmetz commented 6 years ago

what version of libpff / pffexport? what compiler was used to build it?

AniketBhadane commented 6 years ago

The downloaded folder has name libpff_150106, which I got from a link in a stackoverflow answer. This was already built by the author of the answer, using cygwin.

Also, pffexport.exe -h shows following: pffexport 20150106

Should I download libpff-experimental-20161119 ?

joachimmetz commented 6 years ago

20150106 is an old experimental version of libpff, I op to try the last alpha https://github.com/libyal/legacy/tree/master/libpff or the latest experimental https://github.com/libyal/libpff/releases

AniketBhadane commented 6 years ago

I compiled the experimental release on Ubuntu 16.04.

I used following commands: sudo ./configure sudo make sudo make install

But how do I run the program now? Where is the executable stored?

I'm asking a lot, but please can you provide a windows executable? You can upload it on https://drive.google.com/drive/folders/1Bpbuio97JSnQ0I_Rg8A2yj3oMkHhkS6o?usp=sharing

joachimmetz commented 6 years ago

sudo make install will install by default in /usr/local/bin/

joachimmetz commented 6 years ago

also there is no need to run ./configure and make with sudo

AniketBhadane commented 6 years ago

It gives error: pffexport: error while loading shared libraries: libpff.so.1: cannot open shared object file: No such file or directory

joachimmetz commented 6 years ago

Make sure /use/local/lib is in your library cache configuration (ld.conf) and your library cache is up to date (ldconfig)

AniketBhadane commented 6 years ago

I also tried on Windows using msys-mingw. After doing "make" in msys-mingw, please can you tell where is the executable created?

AniketBhadane commented 6 years ago

I was able to compile and run the program. I still got the same problem. This was with OST from Outlook 2010. Then I used another OST from Outlook 2016. And complete headers for all emails are now written.

joachimmetz commented 6 years ago

And you are sure it is not an issue with the file? Any chance of you being able to share the file or format debug information?

On Nov 16, 2017 16:43, "AniketBhadane" notifications@github.com wrote:

I was able to compile and run the program. I still got the same problem. This was with OST from Outlook 2010. Then I used another OST from Outlook

  1. And complete headers for all emails are now written.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/libyal/libpff/issues/50#issuecomment-344962676, or mute the thread https://github.com/notifications/unsubscribe-auth/ADtWbv5q-9ggnhHKbxAQrUtDBipatQ1mks5s3FgSgaJpZM4QgB_N .

AniketBhadane commented 6 years ago

It might be a problem with OST file. Also, can the tool convert the OST files from different versions of Outlook equally?

joachimmetz commented 6 years ago

libpff just reads the MAPI database inside the OST files. You can dump the MAPI values with pffexport or have a look with https://github.com/stephenegriffin/mfcmapi

joachimmetz commented 6 years ago

No updates in a while closing issue