diff --git a/ChangeLog b/ChangeLog
index f835d14..3452548 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,904 +1,908 @@
+LibPST 0.6.66 (2015-12-21)
+===============================
+    * Igor Stroh  - Added Content-ID header support
+
 LibPST 0.6.65 (2015-09-11)
 ===============================
     * Jeffrey Morlan - fix multiple Content-Type headers
     * Hans Liss - debug level output
 
 LibPST 0.6.64 (2015-03-09)
 ===============================
     * AJ Shankar fixes for attachment processing and body
       encodings that contain embedded null chars
 
 LibPST 0.6.63 (2013-12-27)
 ===============================
     * Daniel Gryniewicz found buffer overrun in LIST_COPY_TIME
 
 LibPST 0.6.62 (2013-09-22)
 ===============================
     * 983596 - Old dependency filter breaks file coloring
 
 LibPST 0.6.61 (2013-08-06)
 ===============================
     * move documentation to unversioned directory
 
 LibPST 0.6.60 (2013-06-12)
 ===============================
     * patch from Dominique Leuenberger to add AC_USE_SYSTEM_EXTENSIONS
     * add readpst -a option for attachment stripping
 
 LibPST 0.6.59 (2013-05-17)
 ===============================
     * add autoconf checking for libgsf
 
 LibPST 0.6.58 (2012-12-28)
 ===============================
     * fix From quoting on embedded rfc/822 messages
 
 LibPST 0.6.57 (2012-12-27)
 ===============================
     * remove useless dependencies
 
 LibPST 0.6.56 (2012-12-24)
 ===============================
     * merge -m .msg files code into main branch
 
 LibPST 0.6.55 (2012-05-08)
 ===============================
     * preserve bcc headers
     * document -C switch to set default character set
     * space after colon is not required in header fields
 
 LibPST 0.6.54 (2011-11-04)
 ===============================
     * embedded rfc822 messages might contain rtf encoded bodies
 
 LibPST 0.6.53 (2011-07-10)
 ===============================
     * add Status: header in output
     * allow fork for parallel processing of individual email folders
       in separate mode
     * proper handling of --with-boost-python option
 
 LibPST 0.6.52 (2011-05-22)
 ===============================
     * fix dangling freed pointer in embedded rfc822 message processing
     * allow broken outlook internet header field - it sometimes contains
       fragments of the message body rather than headers
 
 LibPST 0.6.51 (2011-04-17)
 ===============================
     * fix for buffer overrun; attachment size from the secondary
       list of mapi elements overwrote proper size from the primary
       list of mapi elements.
       fedora bugzilla 696263
 
 LibPST 0.6.50 (2010-12-24)
 ===============================
     * rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
 
 LibPST 0.6.49 (2010-09-13)
 ===============================
     * fix to ignore embedded objects that are not email messages
 
 LibPST 0.6.48 (2010-09-02)
 ===============================
     * fix for broken internet headers from Outlook.
     * fix ax_python.m4 to look for python2.7
     * Subpackage Licensing, add COPYING to -libs.
     * use mboxrd from quoting for output formats with multiple messages per file
     * use no from quoting for output formats with single message per file
 
 LibPST 0.6.47 (2010-05-07)
 ===============================
     * patches from Kenneth Berland for solaris.
     * fix output file name numbering to start at 1 rather than 2.
 
 LibPST 0.6.46 (2010-02-13)
 ===============================
     * prefer libpthread over librt for finding sem_init function.
     * rebuild for fedora 13 change in implicit dso linking semantics.
 
 LibPST 0.6.45 (2009-11-18)
 ===============================
     * patch from Hugo DesRosiers to export categories and notes into vcards.
     * extend that patch to export categories into vcalendar appointments also.
 
 LibPST 0.6.44 (2009-09-20)
 ===============================
     * fix --help usage; readpstlog is gone, debug files are now ascii text.
     * patch from Lee Ayres to add file name extensions in separate mode.
     * allow mixed items types in a folder in separate mode.
 
 LibPST 0.6.43 (2009-09-12)
 ===============================
     * patches from Justin Greer.
 	add code pages 1200 and 1201 to the list for iconv
     	add support for 0x0201 indirect blocks that point to 0x0101 blocks
 	add readpst -t option to select output item types
 	fix (remove) extra new line inside headers
     * cleanup base64 encoding to remove duplicate code.
     * patch from Chris White to avoid segfault with embedded appointments.
     * patch from Roberto Polli to add creation of some Thunderbird specific meta files.
     * patch from Justin Greer to ignore b5 tables at offset zero.
     * output type filtering can now be used to handle folders with multiple item types.
     * better decoding of rfc822 embedded message attachments.
     * better detection of dsn delivery reports
 
 LibPST 0.6.42 (2009-09-03)
 ===============================
     * patch from Fridrich Strba to build with DJGPP DOS cross-compiler.
 
 LibPST 0.6.41 (2009-06-23)
 ===============================
     * fix ax_python detection - should not use locate command
     * checking for fedora versions is not needed
 
 LibPST 0.6.40 (2009-06-23)
 ===============================
     * fedora 11 has python2.6
     * remove pdf version of the man pages
 
 LibPST 0.6.39 (2009-06-21)
 ===============================
     * fedora > 10 moved to boost-python-devel
 
 LibPST 0.6.38 (2009-06-21)
 ===============================
     * add python module interface to the shared library for easy scripting.
     * the shared library must never write to stdout or stderr.
     * fix pst_attach_to_mem so the caller does not need to initialize
       the buffer pointer.
     * remove readpst -C switch, obsolete debugging code.
     * update version to 4:0:0 since we made many changes to the interface.
     * removed contact->access_method since we don't have a mapi element for it.
     * changed pst_attach_to_mem to return pst_binary structure.
     * decode more recurrence mapi elements.
     * readpst changes for parallel operation on multi processor machines.
     * remove readpstlog - the debug log files are now plain ascii. Add locking
       if needed so parallel jobs can produce debug logs.
     * more cleanup of the shared library interface, but still not fully
       thread safe.
     * make nested mime multipart/alternative to hold the text/html parts
       so the topmost level is almost always multipart/mixed.
     * the shared library interface should now be thread safe.
     * patch from Fridrich Strba to build on win32.
     * remove unreferenced code.
 
 LibPST 0.6.37 (2009-04-17)
 ===============================
     * add pst_attach_to_mem() back into the shared library interface.
     * improve developer documentation.
     * fix memory leak caught by valgrind.
 
 LibPST 0.6.36 (2009-04-14)
 ===============================
     * spec file cleanup with multiple sub packages.
     * add doxygen devel-doc documentation for the shared library.
     * switch back to fully versioned subpackage dependencies.
     * more cleanup on external names in the shared object file.
 
 LibPST 0.6.35 (2009-04-08)
 ===============================
     * fix bug where we failed to pickup the last extended attribute.
     * patch from Emmanuel Andry to fix potential security bug in
       pst2dii with printf(err).
     * properly add trailing mime boundary in all modes.
     * move version-info into main configure.in, and set it properly
     * prefix all external symbols in the shared library with pst_ to
       avoid symbol clashes with other shared libraries.
     * new debianization from hggdh.
     * build separate libpst, libpst-libs, libpst-devel rpms.
     * remove many functions from the interface by making them static.
 
 LibPST 0.6.34 (2009-03-19)
 ===============================
     * improve consistency checking when fetching items from the pst file.
     * avoid putting mixed item types into the same output folder.
 
 LibPST 0.6.33 (2009-03-17)
 ===============================
 
     * fix fedora 11 type mismatch warning (actually an error in this case).
     * fix large file support, some sytems require config.h to be included
       earlier in the compilation.
     * compensate for iconv conversion to utf-7 that produces strings that
       are not null terminated.
     * don't produce empty attachment files in separate mode.
 
 LibPST 0.6.32 (2009-03-14)
 ===============================
 
     * fix ppc64 compile error.
 
 LibPST 0.6.31 (2009-03-14)
 ===============================
 
     * bump version for fedora cvs tagging mistake.
 
 LibPST 0.6.30 (2009-03-14)
 ===============================
 
     * improve documentation of .pst format.
     * remove decrypt option from getidblock - we always decrypt.
     * rename some structure fields to reflect our better understanding
       of the pst format.
     * track character set individually for each mapi element, since
       some could be unicode (therefore utf8) and others sbcs with
       character set specified by the mapi object. remove charset option
       from pst2ldif since we get that from each object now.
     * more code cleanup.
     * use AM_ICONV for better portability of the library location.
     * structure renaming to be more specific.
     * improve internal doxygen documentation.
     * avoid emitting bogus empty email messages into contacts and
       calendar files.
 
 LibPST 0.6.29 (2009-02-24)
 ===============================
     * fix for 64bit on Fedora 11
 
 LibPST 0.6.28 (2009-02-24)
 ===============================
     * add X-libpst-forensic-* headers to capture items of interest
       that are not used by normal mail clients.
     * improve decoding of multipart/report and message/rfc822 mime
       types.
     * improve character set handling - don't try to convert utf-8
       to single byte for fields that were not originally unicode.
       if the conversion fails, leave the data in utf-8.
     * fix embedded rfc822 messages with attachments.
 
 LibPST 0.6.27 (2009-02-07)
 ===============================
     * fix for const correctness on Fedora 11
 
 LibPST 0.6.26 (2009-02-07)
 ===============================
     * patch from Fridrich Strba for building on mingw and
       general cleanup of autoconf files
     * add processing for pst files of type 0x0f
     * start adding support for properly building and installing
       libpst.so and the header files required to use it.
     * remove version.h since the version number is now in config.h
     * more const correctness issues regarding getopt()
     * consistent ordering of our include files. all system includes
       protected by ifdef HAVE_ from autoconf.
     * strip and regenerate all MIME headers to avoid duplicates.
       problem found by Michael Watson on Mac OSX.
     * do a better job of making unique MIME boundaries.
     * only use base64 coding when strictly necessary.
     * more cleanup of #include files. common.h is the only file
       allowed to include system .h files unprotected by autoconf
       HAVE_ symbols. define.h is the only other file allowed to
       include system .h files. define.h is never installed; common.h
       is installed if we are building the shared library.
     * recover dropped pragma pack line, use int64_t rather than off_t
       to avoid forcing users of the shared library to enable large
       file support.
     * add pragma packing support for sun compilers.
     * fix initial from header in mbox format.
     * start moving to PST_LE_GET* rather than LE*_CPU macros so we
       can eventually remove the pragma packing.
     * patch from Fridrich Strba, some systems need extra library for regex.
 
 LibPST 0.6.25 (2009-01-16)
 ===============================
     * improve handling of content-type charset values in mime parts
 
 LibPST 0.6.24 (2008-12-11)
 ===============================
     * patch from Chris Eagle to build on cygwin
 
 LibPST 0.6.23 (2008-12-04)
 ===============================
     * bump version to avoid cvs tagging mistake in fedora
 
 LibPST 0.6.22 (2008-11-28)
 ===============================
     * patch from David Cuadrado to process emails with type PST_TYPE_OTHER
     * base64_encode_multiple() may insert newline, needs larger malloc
     * subject lines shorter than 2 bytes could segfault
 
 LibPST 0.6.21 (2008-10-21)
 ===============================
     * fix title bug with old schema in pst2ldif.
     * also escape commas in distinguished names per rfc4514.
 
 LibPST 0.6.20 (2008-10-09)
 ===============================
     * add configure option --enable-dii=no to remove dependency on libgd.
     * many fixes in pst2ldif by Robert Harris.
     * add -D option to include deleted items, from Justin Greer
     * fix from Justin Greer to add missing email headers
     * fix from Justin Greer for my_stristr()
     * fix for orphan children when building descriptor tree
     * avoid writing uninitialized data to debug log file
     * remove unreachable code
     * create dummy top-of-folder descriptor if needed for corrupt pst files
 
 LibPST 0.6.19 (2008-09-14)
 ===============================
     * Fix base64 encoding that could create long lines
     * Initial work on a .so shared library from Bharath Acharya.
 
 LibPST 0.6.18 (2008-08-28)
 ===============================
     * Fixes for iconv on Mac from Justin Greer.
 
 LibPST 0.6.17 (2008-08-05)
 ===============================
     * More fixes for 32/64 bit portability on big endian ppc.
 
 LibPST 0.6.16 (2008-08-05)
 ===============================
     * Use inttypes.h for portable printing of 64 bit items.
 
 LibPST 0.6.15 (2008-07-30)
 ===============================
     * Patch from Robert Simpson for file handle leak in error case.
     * Fix for missing length on lz decompression, bug found by Chris White.
 
 LibPST 0.6.14 (2008-06-15)
 ===============================
     * Fix my mistake in debian packaging.
 
 LibPST 0.6.13 (2008-06-13)
 ===============================
     * Patch from Robert Simpson for encryption type 2.
     * Fix the order of testing item types to avoid claiming
     there are multiple message stores.
 
 LibPST 0.6.12 (2008-06-10)
 ===============================
     * Patch from Joachim Metz for debian packaging, and fix
     for incorrect length on lz decompression.
 
 LibPST 0.6.11 (2008-06-03)
 ===============================
     * Use ftello/fseeko to properly handle large files.
     * Document and properly use datasize field in b5 blocks.
     * Fix some MSVC compile issues and collect MSVC dependencies into one place.
 
 LibPST 0.6.10 (2008-05-29)
 ===============================
     * Patch from Robert Simpson <rsimpson@idiscoverglobal.com>
     fix doubly-linked list in the cache_ptr code, and allow
     arrays of unicode strings (without converting them).
     * More changes for Fedora packaging (#434727)
     * Fixes for const correctness.
 
 LibPST 0.6.9 (2008-05-16)
 ===============================
     * Patch from Joachim Metz <joachim.metz@gmail.com> for 64 bit
       compile.
     * Signed/unsigned cleanup from 'CFLAGS=-Wextra ./configure'.
     * Reindent vbuf.c to make it readable.
     * Fix pst format documentation for 8 byte backpointers.
 
 LibPST 0.6.8 (2008-03-05)
 ===============================
     * Initial version of pst2dii to convert to Summation dii load file format.
     * Changes for Fedora packaging (#434727)
 
 LibPST 0.6.7 (2008-02-16)
 ===============================
     * Work around bogus 7c.b5 blocks in some messages that have been
       read. They appear to have attachments, but of some unknown format.
       Before the message was read, it did not have any attachments.
     * Use autoscan to cleanup our autoconf system.
     * Use autoconf to detect when we need to use our XGetopt files
       and other header files.
     * More fields, including BCC.
     * Fix missing LE32_CPU byte swapping for FILETIME types.
 
 LibPST 0.6.6 (2008-01-31)
 ===============================
     * More code cleanup, removing unnecessary null terminations on
       binary buffers. All pst file reads now go thru one function.
       Logging all pst reads to detect cases where we read the same data
       multiple times - discovers node sizes are actually 512 bytes.
     * Switch from cvs to mercurial source control.
 
 LibPST 0.6.5 (2008-01-22)
 ===============================
     * More code cleanup, removing obsolete code. All the boolean flags
       of type 0xb have length 4, so these are all 32 bits in the file.
       Libpst treats them all as 16 bits, but at least we are consistent.
     * More fields decoded - for example, see
       <http://msdn2.microsoft.com/en-us/library/aa454925.aspx>
       We should be able to use that data for much more complete decoding.
     * Move the rpm group to Applications/Productivity consistent with
       Evolution.
 
 LibPST 0.6.4 (2008-01-19)
 ===============================
     * More fixes for Outlook 2003 64 bit parsing. We observed cases of
       compressed RTF bodies (type 0x1009) with zero length.
     * Document type 0x0101 descriptor blocks and process them.
     * Fix large file support - we need to include config.h before any
       standard headers.
     * Merge following changes from svn snapshot from Alioth:
         * Add new fields to appointment for recurring events
           (SourceForge #304198)
         * Map IPM.Task items to PST_TYPE_TASK.
         * Applied patch to remove compiler warnings, thanks!
           (SourceForge #304314)
         * Fix crash with unknown reference type
         * Fix more memory issues detected by valgrind
         * lspst - add usage mesage and option parsing using getopt
             (SourceForge #304199)
         * Fix crash caused by invalid free calls
         * Fix crash when email subject is empty
         * Fix memory and information leak in hex debug dump
 
 LibPST 0.6.3 (2008-01-13)
 ===============================
     * More type consistency issues found by splint.
 
 LibPST 0.6.2 (2008-01-12)
 ===============================
     * More fixes for Outlook 2003 64 bit parsing.
     * All buffer sizes changed to size_t, all file offsets changed to off_t,
       all function names start with pst_, many other type consistency issues
       found by splint. Many changes to #llx in debug printing for 64 bit items.
       All id values are now uint64_t.
 
 LibPST 0.6.1 (2008-01-06)
 ===============================
     * Outlook 2003 64 bit parsing. Some documentation from Alexander Grau
       <alexandergrau@gmx.de> and patches from Sean Loaring <sloaring@tec-man.com>.
     * fix from Antonio Palama <palama@inwind.it> for email items
       that happen to have item->contact non null, and were being processed
       as contacts.
     * Add large file support so we can read .pst files larger than 2gb.
     * Change lspst to be similar to readpst, properly using recursion to walk
       the tree, and testing item types. Add a man page for lspst.
 
 LibPST 0.5.12 (2007-10-02)
 ===============================
     * security fix from Brad Hards <bradh@frogmouth.net> for buffer
       overruns in liv-zemple decoding for corrupted or malicious pst files.
 
 LibPST 0.5.11 (2007-08-24)
 ===============================
     * fix from Stevens Miller <smiller@novadatalabs.com>
       for unitialized variable.
 
 LibPST 0.5.10 (2007-08-20)
 ===============================
     * fix yet more valgrind errors - finally have a clean memory check.
     * restructure readpst.c for proper recursive tree walk.
     * buffer overrun test was backwards, introduced at 0.5.6
     * fix broken email attachments, introduced at 0.5.6
 
 LibPST 0.5.9 (2007-08-12)
 ===============================
     * fix more valgrind errors.
 
 LibPST 0.5.8 (2007-08-10)
 ===============================
     * fix more valgrind errors. lzfu_decompress needs to return the
       actual buffer size, since the lz header overestimates the size.
       This caused base64_encode to encode undefined bytes into the
       email attachment.
 
 LibPST 0.5.7 (2007-08-09)
 ===============================
     * fix valgrind errors, using uninitialized data.
     * improve debug logging and readpstlog for indented listings.
     * cleanup documentation.
 
 LibPST 0.5.6 (2007-07-15)
 ===============================
     * Fix to allow very small pst files with only one node in the
       tree. We were mixing signed/unsigned types in comparisons.
     * More progress decoding the basic structure 7c blocks. Many
       four byte values may be ID2 indices with data outside the buffer.
     * Start using doxygen to generate internal documentation.
 
 LibPST 0.5.5 (2007-07-10)
 ===============================
     * merge the following changes from Joe Nahmias version:
     * Lots of memory fixes.  Thanks to Nigel Horne for his assistance
       tracking these down!
     * Fixed creation of vCards from contacts, thanks to Nigel Horne for
       his help with this!
     * fix for MIME multipart/alternative attachments.
     * added -c options to readpst manpage.
     * use 8.3 attachment filename if long filename isn't available.
     * new -b option to skip rtf-body.rtf attachments.
     * fix format of From header lines in mbox files.
     * Add more appointment fields, thanks to Chris Halls for tracking
       them down!
 
 LibPST 0.5.4 (2006-02-25)
 ===============================
     * patches from Arne, adding MH mode, remove leading zeros
       from the generated numbered filenames starting with one
       rather than zero. Miscellaneous code cleanup.
     * document the "7c" descriptor block format.
 
 LibPST 0.5.3 (2006-02-20)
 ===============================
     * switch to gnu autoconf/automake. This breaks the MS VC++ projects
       since the source code is now in the src subdirectory.
     * documentation switched to xml, building man pages and html
       from the master xml copy.
     * include rpm .spec file for building src and binary rpms.
 
 LibPST 0.5.2 (2006-02-18)
 ===============================
     * Added pst2ldif to convert the contacts to ldif format for import
       into ldap databases.
     * Major changes to libpst.c to properly use the node depth values
       from the b-tree nodes. We also use the item count values in the nodes
       rather than trying to guess how many items are active.
     * Cleanup whitespace - using tabs for every four columns.
 
 LibPST 0.5.1 (17 November 2004)
 ===============================
 
 Well, alot has happened since the last release of libpst.
 
 Release / Management:
 
         * The project has forked! The new maintainer is Joseph Nahmias.
         * We have changed hosting sites, thanks to sourceforge for hosting
         to this point.  From this point forward we will be using
         alioth.debian.org.
         * The project is now using SubVersioN for source control.  You can
         get the latest code by running:
                 svn co svn://svn.debian.org/svn/libpst/trunk .
         * See
         <http://lists.alioth.debian.org/pipermail/libpst-devel/2004-November/000000.html>
         for more information.
 
 Code Changes:
 
         * Added lspst program to list items in a PST.  Still incomplete.
         * Added vim folding markers to readpst.c
         * avoid the pseudo-prologue that MS prepends to the email headers
         * fix build on msvc, since it doesn't have sys/param.h
         * Re-vamped Makefile:
                 * Only define CFLAGS in Makefileif missing
                 * fixed {un,}install targets in Makefile
                 * Fixed up build process in Makefile
         * Added mozilla conversion script from David Binard
         * Fixed bogus creation of readpst.log on every invocation
         * escaped dashes and apostrophe in manpages
         * Updated TODO
         * added manpages from debian pkg
         * fix escaped-string length count to consider '\n',
                 thanks to Paul Bakker <bakker@fox-it.com>.
         * ensure there's a blank line between header and body
                 patch from <johnh@aproposretail.com> (SourceForge #890745).
         * Apply accumulated endian-related patches
         * Removed unused files, upstream's debian/ dir
 
 -- Joe Nahmias <joe@nahmias.net>
 
 LibPST v0.5
 ===========
 
 It is with GREAT relief that I bring you version 0.5 of the LibPST tools!
 
 Through great difficulties, this tool has survived and expanded to become even
 better.
 
 The changes are as follows:
   * RTF support. We can now decompress RTF bodies in emails, and are saved as attachments
   * Better support in reading the indexes. Fixed many bugs with them
   * Improved reliability. "Now we are getting somewhere!"
   * Improved compiling. Hopefully we won't be hitting too many compile errors now.
   * vCard handling. Contacts are now exported as vCard entries.
   * vEvent handling. Support has begun on exporting Calendar entries as events
   * Support for Journal entries has also begun
 
 If you have any problems with this release, don't hesitate to contact me.
 
 These changes come to you, as always, free under the GPL license!! What a wonderful
 thing it is. It does mean that you can write your own program off of this library
 and distribute it also for free. However, anyone with commercial interests for
 developing applications they will be charging for are encouraged to get in touch
 with me, as I am sure we can come to some arrangement.
 
 Dave Smith
 <dave.s@earthcorp.com>
 
 LibPST v0.4.3
 =============
 
 Bug fix release. No extra functionality
 
 Dave Smith
 <dave.s@earthcorp.com>
 
 LibPST v0.4.2
 =============
 
 The debug system has had an overhaul. The debug messages are no longer
 printed to the screen when they are enabled. They are dumped to a
 binary file. There is another utility called "readlog" that I have
 written to handle these log files. It should make it easier to
 selectively view bits of a log file. It also shows the position that
 the log message was printed from.
 
 There is a new switch in readpst. It is -d. It enables the user to
 specify the log file which the binary log is written to. If the switch
 isn't used, the default file of "readpst.log" is used.
 
 The code is now Visual C++ compatible. It has compiled on Visual C++
 .net Standard edition, and produces the readpst.exe file. Use the project
 file included in this distribution.
 
 There have been minor improvements elsewhere too.
 
 
 LibPST v0.4.1
 =============
 
 Fixed a couple more bugs. Is it me or do bugs just insert themselves
 in random, hard to find places!
 
 Cured a few problems with regard to emails with multiple embeded
 items. They are not fully re-created using Mime-types, but are
 accessible with the -S switch (which saves everything as seperate
 items)
 
 Fixed a problem reading the first index. Back sliders are now
 detected. (ie when the value following the current one is smaller, not
 bigger!)
 
 Added some error messages when we try and read outside of the PST
 file, this was causing a few problems before, cause the return value
 wasn't always checked, so it was possible to be reading random data,
 and trying to make sense of it!
 
 Anyway, if you find any problems, don't hesitate to mail me
 
 Dave Smith
 <dave.s@earthcorp.com>
 
 LibPST v0.4
 ===========
 
 Fixed a nasty bug that occasionally corrupted attachments. Another bug
 with regard to reading of indexes (also occasional).
 
 Another output method has been added which is called "Seperate". It is
 activated with the -S switch. It operates in the following manor:
 
   |--Inbox-->000000
   |          000001
   |          000002
   |--Sentmail-->0000000
   |             0000001
   |             0000002
 
 All the emails are stored in seperate files counting from 0 upwards,
 in a folder named as the PST folder.
 
 When an email has an attachment, it is saved as a seperate file. The
 filename for the attachment is made up of 2 parts, the first is the
 email number to which it belongs, the second is its filename.
 
 The should now be runnable on big-endian machines, if the define.h
 file is first modified. The #define LITTLE_ENDIAN must be commented
 out, and the #define BIG_ENDIAN must be uncommented.
 
 More verbose error messages have been added. Apparently people got
 confused when the program stopped for no visible reason. This has now
 been resolved.
 
 Thanks for the continued support of all people involved.
 
 Dave Smith
 <dave.s@earthcorp.com>
 
 Libpst v0.3.4
 =============
 
 Several more fixes. An Infinite loop and incorrect interpreting of
 item index attributes. Work has started on making the code executable
 on big endian CPUs. At present it should work with Linux on these
 CPUs, but I would appreciate it if you could provide feedback with
 regard to it's performance. I am also working with some other people
 at make it operate on Solaris.
 
 A whole load more items are now recognized by the Item records. With
 more items in Emails and Folders. I haven't got to the Contacts yet.
 
 Anyway, this is what I would call a minor feature enhancment and
 bugfix release.
 
 Dave Smith
 <dave.s@earthcorp.com>
 
 LibPST v0.3.3
 =============
 
 Fixed several items. Mainly memory leaks. Loads of them! oops..
 
 I have added a new program, mainly of debugging, which when passed
 an ID value and a pst file, will extract and decrypt that ID from
 the pst file. I don't see it being a huge attraction, or of much use
 to most people, but it is another example of writing an application
 to use the libpst interface.
 
 Another fix was in the reading of the item index. This has hopefully
 now been corrected. The result of this bug was that not all the emails
 in a folder were converted. Hopefully you should have more luck now.
 
 Dave Smith
 <dave.s@earthcorp.com>
 
 LibPST v0.3.2
 =============
 
 Quick bugfix release. There was a bug in the decryption of the basic
 encryption that outlook uses. One byte, 0x6c, was incorrectly decrypted
 to 0x6c instead of 0xcd. This release fixes this bug. Sorry...
 
 
 LibPST v0.3.1
 =============
 
 Minor improvements. Fixed bug when linking multiple blocks together,
 so now the linking blocks are not "encrypted" when trying to read
 them.
 
 
 LibPST v0.3
 ===========
 
 A lot of bug fixing has been done for this release. Testing has been
 done on the creation of the files by readpst.  Better handling of
 large binaries being extracted from the PST file has been implemented.
 
 Quite a few reports have come in about not being able to compile on
 Darwin. This could be down to using macros with variable parameter
 lists. This has now been changed to use C functions with variable
 parameters. I hope this fixes a lot of problems.
 
 Added support for recreating the folder structure into normal
 directories. For Instance:
 
 Personal Folders
   |-Inbox
   |   |-Jokes
   |   |-Meetings
   |-Send Items
 
 each folder containing an mbox file with the correct emails for that
 folder.
 
 Dave Smith
 <dave.s@earthcorp.com>
 
 
 LibPST v0.3 beta1
 =================
 
 Again, a shed load of enhancements. More work has been done on the
 mime creation. A bug has been fixed that was letting part of the
 attachments that were created disappear.
 
 A major enhancement is that "compressible encryption" support has been
 added. This was an incredibly simple method to use. It is basically a
 ceasar cipher. It has been noted by several users already that the PST
 password that Outlook uses, serves *no purpose*. It is not used to
 encrypt the PST, it is mearly stored there. This means that the
 readpst application is able to convert PST files without knowing the
 password. Microsoft have some explaning to do!
 
 Output files are now not overwritten if they already exist. This means
 that if you have two folders in your PST file named "fred", the first
 one encountered will be named "fred" and the second one will be named
 "fred00000001". As you can see, there is enough room there for many
 duplicate names!
 
 Output filenames are now restricted. Any "/" or "\" characters in the
 name are replaced with "_". If you find that there are any other
 characters that need to be changed, could you please make me aware!
 
 Thanks to Berry Wizard for help with supporting the encryption.
 
 Thanks to Auke Kok, Carolus Walraven and Yogesh Kumar Guatam for providing debugging
 information and testing.
 
 Dave Smith
 <dave.s@earthcorp.com>
 
 
 LibPST v0.2 beta1
 =================
 
 Hello once more...
 
 Attachments are now re-created in mime format. The method is very
 crude and could be prone to over generalisation. Please test this
 version, and if attachments are not recreated correctly, please send
 me the email (complete message source) of the original and
 converted. Cheers.
 
 I hope this will work for everyone who uses this program, but reality
 can be very different!
 
 Let us see how it goes...
 
 Dave Smith
 <dave.s@earthcorp.com>
 
 LibPST v0.2 alpha1
 ===========
 
 Hello!
 
 Some improvements. The internal code has been changed so that
 attachments are now processed and loaded into the structures. The
 readpst program is not finished yet. It needs to convert these binary
 structs into mime data. At present it just saves them to the current
 directory, overwriting any previous files with the attachment name.
 
 Improvements over previous version:
 * KMail output is supported - if the "-k" flag is specified, all the
   directory hierarchy is created using the KMail standard
 * Lots of bugs and memory leaks fixed
 
 
 Usage:
 
 ReadPST v0.2alpha1 implementing LibPST v0.2alpha1
 Usage: ./readpst [OPTIONS] {PST FILENAME}
 OPTIONS:
         -h      - Help. This screen
         -k      - KMail. Output in kmail format
         -o      - Output Dir. Directory to write files to. CWD is changed *after* opening pst file
         -V      - Version. Display program version
 
 If you want to view lots of debug output, modify a line in "define.h"
 from "//#define DEBUG_ALL" to "#define DEBUG_ALL". It would then be
 advisable to pipe all output to a log file:
 
 ./readpst -o out pst_file &> logfile
 
 Dave Smith
 
 LibPST v0.1
 ===========
 
 Hi Folks!
 
 This has been a long, hard slog, but I now feel that I have got
 somewhere useful. The included program "main" is able to read an
 Outlook PST file and dump the emails into mbox files, separating each
 folder into a different mbox file. All the mbox files are stored in
 the current directory and no attempt is yet made to organise these
 files into a directory hierarchy. This would not be too difficult to
 achieve though.
 
 Email attachments are not yet handled, neither are Contacts.
 
 There is no pretty interface yet, but you can convert a PST file in
 the following manner
 
 ./main {path to PST file}
 
 This is very much a work in progress, but I thought I should release
 this code so that people can lose their conception that outlook files
 will never be converted to Linux.
 
 I am intending that the code I am writing will be developed into
 greater applications to provide USEFUL tools for accessing and
 converting PST files into a variety of formats.
 
 One point I feel I should make is that Outlook, by default, creates
 "Compressible Encryption" PST files. I have not, as yet, attempted to
 write any decryption routines, so you will not be able to convert
 these files. However, if you create a new PST file and choose not to
 make an encrypted one, you can copy all your emails into this new one
 and then convert the unencrypted one.
 
 I hope you enjoy,
 
 Dave Smith
 
diff --git a/NEWS b/NEWS
index edd556e..37ba9d8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,77 +1,78 @@
+0.6.66  2015-12-21 Igor Stroh  - Added Content-ID header support
 0.6.65  2015-09-11 Jeffrey Morlan - fix multiple Content-Type headers; Hans Liss - debug level output
 0.6.64  2015-03-09 AJ Shankar fixes for attachment processing and body encodings that contain embedded null chars
 0.6.63  2013-12-27 Daniel Gryniewicz found buffer overrun in LIST_COPY_TIME
 0.6.62  2013-09-22 983596 - Old dependency filter breaks file coloring
 0.6.61  2013-08-06 move documentation to unversioned directory
 0.6.60  2013-06-12 add AC_USE_SYSTEM_EXTENSIONS, add readpst -a option for attachment stripping
 0.6.59  2013-05-17 add autoconf checking for libgsf
 0.6.58  2012-12-28 fix From quoting on embedded rfc/822 messages
 0.6.57  2012-12-27 remove useless dependencies
 0.6.56  2012-12-24 merge -m .msg files code into main branch
 0.6.55  2012-05-08 preserve bcc headers, space after colon is not required in header fields
 0.6.54  2011-11-04 embedded rfc822 messages might contain rtf encoded bodies
 0.6.53  2011-07-10 allow fork for parallel processing of individual email folders in separate mode
 0.6.52  2011-05-22 fix dangling freed pointer; allow broken outlook internet header field
 0.6.51  2011-04-17 fix for buffer overrun; attachment size fetched twice
 0.6.50  2010-12-24 rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
 0.6.49  2010-09-13 fix to ignore embedded objects that are not email messages
 0.6.48  2010-09-02 fix for broken internet headers from Outlook, change to mboxrd quoting
 0.6.47  2010-05-07 patches from Kenneth Berland for solaris
 0.6.46  2010-02-13 fixes for fedora 13 change in implicit dso linking semantics
 0.6.45  2009-11-18 patch from Hugo DesRosiers to export categories and notes into vcards
 0.6.44  2009-09-20 patch from Lee Ayres to add file name extensions in separate mode
 0.6.43  2009-09-12 patches from Justin Greer, Chris White, Roberto Polli; better rfc822 embedded message decoding
 0.6.42  2009-09-03 patch from Fridrich Strba to build with DJGPP DOS cross-compiler
 0.6.41  2009-06-23 fix ax_python detection - should not use locate command
 0.6.40  2009-06-23 fedora 11 has python2.6, remove pdf version of the man pages
 0.6.39  2009-06-21 fedora > 10 moved to boost-python-devel
 0.6.39  2009-06-21 fedora > 10 moved to boost-python-devel
 0.6.38  2009-06-21 many changes including shared library soname
 0.6.37  2009-04-17 add pst_attach_to_mem() back into the shared library interface
 0.6.36  2009-04-14 build separate -doc and -devel-doc subpackages
 0.6.35  2009-04-08 properly add trailing mime boundary in all modes, build separate rpms with libpst.so shared.
 0.6.34  2009-03-19 avoid putting mixed item types into the same output folder
 0.6.33  2009-03-17 fix utf-7 conversions, don't produce empty attachment files in separate mode
 0.6.32  2009-03-14 fix ppc64 compile error
 0.6.31  2009-03-14 bump version for fedora cvs tagging mistake
 0.6.30  2009-03-14 track character set individually for each mapi element, avoid emitting bogus empty email messages into contacts and calendar files.
 0.6.29  2009-02-24 fix for 64bit on Fedora 11
 0.6.28  2009-02-24 improve decoding of multipart/report and message/rfc822 mime types
 0.6.27  2009-02-07 fix for const correctness on Fedora 11
 0.6.26  2009-02-07 patch from Fridrich Strba for building on mingw, and autoconf cleanup, better mime headers
 0.6.25  2009-01-16 improve handling of content-type charset values in mime parts
 0.6.24  2008-12-11 patch from Chris Eagle to build on cygwin
 0.6.23  2008-12-04 bump version to avoid cvs tagging mistake in fedora
 0.6.22  2008-11-28 process emails with type PST_TYPE_OTHER, fix malloc error and possible segfault
 0.6.21  2008-10-21 fix title bug with old schema in pst2ldif, also escape commas in distinguished names per rfc4514.
 0.6.20  2008-10-09 add configure option --enable-dii=no, fixes from Robert Harris for pst2ldif.
 0.6.19  2008-09-14 Initial work on a .so shared library from Bharath Acharya.
 0.6.18  2008-08-28 Fixes for iconv on Mac from Justin Greer.
 0.6.17  2008-08-05 More fixes for 32/64 bit portability on big endian ppc
 0.6.16  2008-08-05 Use inttypes.h for portable printing of 64 bit items
 0.6.15  2008-07-30 Fix file handle leak in error case, missing length on lz decompression
 0.6.14  2008-06-15 Fix my mistake in debian packaging
 0.6.13  2008-06-13 Patch from Robert Simpson for encryption type 2.
 0.6.12  2008-06-10 Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
 0.6.11  2008-06-03 Use ftello/fseeko to properly handle large files.
 0.6.10  2008-05-29 Patch from Robert Simpson for doubly-linked list and arrays of unicode strings.
 0.6.9   2008-05-16 Patch from Joachim Metz for 64 bit compile.
 0.6.8   2008-03-05 Initial version of pst2dii to convert to Summation dii load file format.
 0.6.7   2008-02-16 Ignore unknown attachments on some read messages; autoconf cleanup.
 0.6.6   2008-01-31 Code cleanup, switch from cvs to mercurial source control.
 0.6.5   2008-01-22 Code cleanup, rpm group Applications/Productivity.
 0.6.4   2008-01-19 More fixes for 64 bit format, merge changes from svn Alioth.
 0.6.3   2008-01-13 More type consistency issues found by splint.
 0.6.2   2008-01-12 More fixes for 64 bit format, consistent types size_t, off_t, etc.
 0.6.1   2008-01-06 Outlook 2003 64 bit format and fix for bogus contacts.
 0.5.12  2007-10-02 security fix for possible buffer overruns in liv-zemple decoding
 0.5.11  2007-08-24 fix for unitialized variable
 0.5.10  2007-08-20 fix yet more valgrind errors, restructure readpst recursive walk, backwards overrun test
 0.5.9   2007-08-12 fix more valgrind errors, pst2ldif wrote undefined data
 0.5.8   2007-08-10 lzfu_decompress/base64_encode encoded random data into attachment
 0.5.7   2007-08-09 fix valgrind errors, using uninitialized data
 0.5.6   2007-07-15 handle small pst files, better decoding of 7c blocks
 0.5.5   2007-07-10 merge changes from Joe Nahmias version
 0.5.4   2006-02-25 add MH mode, generated filenames with no leading zeros
 0.5.3   2006-02-20 switch to gnu autoconf/automake
 0.5.2   2006-02-18 add pst2ldif, fix btree processing in libpst.c
diff --git a/configure.in b/configure.in
index 8f80c16..62e7242 100644
--- a/configure.in
+++ b/configure.in
@@ -1,387 +1,388 @@
 AC_PREREQ(2.60)
-AC_INIT(libpst,0.6.65,carl@five-ten-sg.com)
+AC_INIT(libpst,0.6.66,carl@five-ten-sg.com)
 AC_CONFIG_SRCDIR([src/libpst.c])
 AC_CONFIG_HEADER([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE
 AC_CANONICAL_HOST
 AC_USE_SYSTEM_EXTENSIONS
 
 #
 #  1. Remember that version-info is current:revision:age, and age <= current.
 #  2. If the source code has changed at all since the last public release,
 #     then increment revision (`c:r:a' becomes `c:r+1:a').
 #  3. If any interfaces have been added, removed, or changed since the last
 #     update, increment current, and set revision to 0.
 #  4. If any interfaces have been added since the last public release, then
 #     increment age, since we should be backward compatible with the previous
 #     version.
 #  5. If any interfaces have been removed or changed since the last public
 #     release, then set age to 0, since we are not backward compatible.
 #  6. libtool will build libpst.so.x.y.z where the SONAME is libpst.so.x
 #     and x=current-age, y=age, z=revision
 
-libpst_version_info='5:10:1'
+libpst_version_info='5:11:1'
 AC_SUBST(LIBPST_VERSION_INFO, [$libpst_version_info])
 libpst_so_major='4'
 AC_SUBST(LIBPST_SO_MAJOR, [$libpst_so_major])
 
 # libpst
 # version   soname          so library name
 # 0.6.35    libpst.so.2     libpst.so.2.0.0
 # 0.6.37    libpst.so.2     libpst.so.2.1.0
 # 0.6.38    libpst.so.2     libpst.so.2.1.0
 # 0.6.40    libpst.so.4     libpst.so.4.0.0
 # 0.6.43    libpst.so.4     libpst.so.4.0.1
 # 0.6.47    libpst.so.4     libpst.so.4.0.2
 # 0.6.48    libpst.so.4     libpst.so.4.0.3
 # 0.6.49    libpst.so.4     libpst.so.4.0.4
 # 0.6.50    libpst.so.4     libpst.so.4.1.0
 # 0.6.51    libpst.so.4     libpst.so.4.1.1
 # 0.6.52    libpst.so.4     libpst.so.4.1.2
 # 0.6.53    libpst.so.4     libpst.so.4.1.3
 # 0.6.54    libpst.so.4     libpst.so.4.1.4
 # 0.6.55    libpst.so.4     libpst.so.4.1.5
 # 0.6.56    libpst.so.4     libpst.so.4.1.6
 # 0.6.57    libpst.so.4     libpst.so.4.1.6
 # 0.6.58    libpst.so.4     libpst.so.4.1.7
 # 0.6.59    libpst.so.4     libpst.so.4.1.8
 # 0.6.60    libpst.so.4     libpst.so.4.1.9
 # 0.6.61    libpst.so.4     libpst.so.4.1.9
 # 0.6.62    libpst.so.4     libpst.so.4.1.9
 # 0.6.63    libpst.so.4     libpst.so.4.1.10
+# 0.6.66    libpst.so.4     libpst.so.4.1.11
 
 
 
 # Check for solaris
 AC_MSG_CHECKING([for Solaris])
 case "$host" in
     *solaris*)
         os_solaris=yes
         ;;
     *)
         os_solaris=no
         ;;
 esac
 AC_MSG_RESULT($os_solaris)
 AM_CONDITIONAL(OS_SOLARIS, [test "$os_solaris" = "yes"])
 
 
 # Check for win32
 AC_MSG_CHECKING([for Win32])
 case "$host" in
     *-mingw*)
         os_win32=yes
         ;;
     *)
         os_win32=no
         ;;
 esac
 AC_MSG_RESULT($os_win32)
 AM_CONDITIONAL(OS_WIN32, [test "$os_win32" = "yes"])
 
 
 # Check for Win32 platform
 AC_MSG_CHECKING([for Win32 platform in general])
 case "$host" in
     *-cygwin*)
         platform_win32=yes
         ;;
     *)
         platform_win32=$os_win32
         ;;
 esac
 AC_MSG_RESULT($platform_win32)
 AM_CONDITIONAL(PLATFORM_WIN32, [test "$platform_win32" = "yes"])
 
 
 # Checks for programs.
 # The following lines adds the --enable-dii option to configure:
 #
 # Give the user the choice to enter one of these:
 # --enable-dii
 # --enable-dii=yes
 # --enable-dii=no
 #
 AC_MSG_CHECKING([whether we are enabling dii utility])
 AC_ARG_ENABLE(dii,
     AC_HELP_STRING([--enable-dii], [enable dii utility]),
     [
         case "${enableval}" in
           yes) ;;
           no)  ;;
           *)   AC_MSG_ERROR(bad value ${enableval} for --enable-dii) ;;
         esac
     ],
     # default if not specified
     enable_dii=yes
     )
 AC_MSG_RESULT([$enable_dii])
 AC_PATH_PROG(CONVERT, convert)
 if test "x$CONVERT" = "x" ; then
     if test "$enable_dii" = "yes"; then
         enable_dii=no
         AC_MSG_WARN([convert program not found. pst2dii disabled])
     fi
 else
     if test "x`$CONVERT --version 2>&1 | grep -i imagemagick >/dev/null ; echo $?`" != "x0"; then
         if test "$enable_dii" = "yes"; then
             enable_dii=no
             AC_MSG_WARN([wrong convert program found. pst2dii disabled])
         fi
     fi
 fi
 AC_CHECK_HEADER([gd.h],
                 [
                     AC_DEFINE([HAVE_GD_H], [1], [Define to 1 if you have the <gd.h> header file.])
                 ],
                 [
                     if test "$enable_dii" = "yes"; then
                         enable_dii=no
                         AC_MSG_WARN([gd.h not found. pst2dii disabled])
                     fi
                 ])
 AM_CONDITIONAL(BUILD_DII, [test "$enable_dii" = "yes"])
 
 
 # Checks for programs.
 AC_PROG_CXX
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_CPP
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_LIBTOOL
 AC_PROG_MAKE_SET
 
 
 # make sure we get large file support
 AC_SYS_LARGEFILE
 AC_CHECK_SIZEOF(off_t)
 
 
 # Checks for header files.
 AC_CHECK_HEADER([unistd.h],
     AM_CONDITIONAL(NEED_XGETOPT, [test yes = no]),
     AM_CONDITIONAL(NEED_XGETOPT, [test yes = yes])
     )
 AC_HEADER_DIRENT
 AC_HEADER_STDC
 AC_CHECK_HEADERS([ctype.h dirent.h errno.h fcntl.h inttypes.h limits.h regex.h semaphore.h signal.h stdarg.h stdint.h stdio.h stdlib.h string.h sys/param.h sys/shm.h sys/stat.h sys/types.h time.h unistd.h wchar.h])
 AC_SEARCH_LIBS([sem_init],[pthread rt])
 
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_HEADER_STDBOOL
 AC_HEADER_SYS_WAIT
 AC_C_CONST
 AC_C_INLINE
 AC_TYPE_OFF_T
 AC_TYPE_SIZE_T
 AC_TYPE_PID_T
 AC_STRUCT_TM
 
 
 # Checks for library functions.
 AC_FUNC_FORK
 AC_FUNC_FSEEKO
 AC_FUNC_STAT
 AC_FUNC_LSTAT
 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
 if test "$cross_compiling" != "yes"; then
     AC_FUNC_MALLOC
     AC_FUNC_MKTIME
     AC_FUNC_REALLOC
 fi
 AC_FUNC_STRFTIME
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([chdir getcwd memchr memmove memset regcomp strcasecmp strncasecmp strchr strdup strerror strpbrk strrchr strstr strtol get_current_dir_name])
 AM_ICONV
 if test "$am_cv_func_iconv" != "yes"; then
     AC_MSG_ERROR([libpst requires iconv which is missing])
 fi
 
 
 AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB(regex,regexec,
                [REGEXLIB=-lregex
                 AC_DEFINE(HAVE_REGEXEC,1,[Define to 1 if you have the regexec function.])],
                [AC_MSG_ERROR([No regex library found])])])
 AC_SUBST(REGEXLIB)
 
 
 # The following lines adds the --enable-pst-debug option to configure:
 #
 # Give the user the choice to enter one of these:
 # --enable-pst-debug
 # --enable-pst-debug=yes
 # --enable-pst-debug=no
 #
 AC_MSG_CHECKING([whether we are forcing debug dump file creation])
 AC_ARG_ENABLE(pst-debug,
     AC_HELP_STRING([--enable-pst-debug], [force debug dump file creation]),
     [
         case "${enableval}" in
           yes) ;;
           no)  ;;
           *)   AC_MSG_ERROR(bad value ${enableval} for --enable-pst-debug) ;;
         esac
     ],
     # default if not specified
     enable_pst_debug=no
     )
 AC_MSG_RESULT([$enable_pst_debug])
 if test "$enable_pst_debug" = "yes"; then
     AC_DEFINE(DEBUG_ALL, 1, Define to 1 to force debug dump file creation)
 fi
 
 
 # The following lines adds the --enable-libpst-shared option to configure:
 #
 # Give the user the choice to enter one of these:
 # --enable-libpst-shared
 # --enable-libpst-shared=yes
 # --enable-libpst-shared=no
 #
 AC_MSG_CHECKING([whether we are building libpst shared object])
 AC_ARG_ENABLE(libpst-shared,
     AC_HELP_STRING([--enable-libpst-shared], [build libpst shared object]),
     [
         case "${enableval}" in
           yes) ;;
           no)  ;;
           *)   AC_MSG_ERROR(bad value ${enableval} for --enable-libpst-shared) ;;
         esac
     ],
     # default if not specified
     enable_libpst_shared=no
     )
 AC_MSG_RESULT([$enable_libpst_shared])
 enable_static_tools=yes
 if test "$enable_libpst_shared" = "yes"; then
     enable_shared=yes
     enable_static_tools=no
 fi
 
 # needed by STATIC_TOOLS in src/Makefile.am
 AC_SUBST(PST_OBJDIR, [$objdir])
 
 
 # The following lines adds the --enable-static-tools option to configure:
 #
 # Give the user the choice to enter one of these:
 # --enable-static-tools
 # --enable-static-tools=yes
 # --enable-static-tools=no
 #
 AC_MSG_CHECKING([whether to link command line tools with libpst statically])
 AC_ARG_ENABLE([static-tools],
     AC_HELP_STRING([--enable-static-tools], [link command line tools with libpst statically]),
     [
         case "${enableval}" in
           yes) ;;
           no)  ;;
           *)   AC_MSG_ERROR(bad value ${enableval} for --enable-static-tools) ;;
         esac
     ],
     [
         enable_static_tools=no
     ])
 AC_MSG_RESULT([$enable_static_tools])
 AM_CONDITIONAL(STATIC_TOOLS, [test "$enable_static_tools" = "yes"])
 if test "$enable_static_tools" = "yes"; then
 	enable_static="yes"
 fi
 
 
 # The following lines adds the --enable-python option to configure:
 #
 # Give the user the choice to enter one of these:
 # --enable-python
 # --enable-python=yes
 # --enable-python=no
 #
 AC_MSG_CHECKING([whether to build the libpst python interface])
 AC_ARG_ENABLE([python],
     AC_HELP_STRING([--enable-python], [build libpst python interface]),
     [
         case "${enableval}" in
           yes) ;;
           no)  ;;
           *)   AC_MSG_ERROR(bad value ${enableval} for --python) ;;
         esac
     ],
     [
         enable_python=yes
     ])
 AC_MSG_RESULT([$enable_python])
 AM_CONDITIONAL(PYTHON_INTERFACE, [test "$enable_python" = "yes"])
 if test "$enable_python" = "yes"; then
 	enable_shared="yes"
     # get the version of installed python
     AX_PYTHON
     if test "$ax_python_bin" = "no"; then
         AC_MSG_ERROR(python binary not found)
     fi
     py_ver=`echo $ax_python_bin | cut -c7-`
     # find the flags for that version
     AC_PYTHON_DEVEL([$py_ver])
     PYTHON_INCLUDE_DIR=`echo $python_path | cut -c3-`
     AC_SUBST([PYTHON_INCLUDE_DIR])
     # do we have boost python
     AX_BOOST_PYTHON
     if test "$ac_cv_boost_python" = "no"; then
         AC_MSG_ERROR(boost python not found)
     fi
     AC_SUBST(PYTHON_VERSION, [$ax_python_bin])
 fi
 
 
 # The following lines adds the --enable-profiling option to configure:
 #
 # Give the user the choice to enter one of these:
 # --enable-profiling
 # --enable-profiling=yes
 # --enable-profiling=no
 #
 AC_MSG_CHECKING([whether to link with gprof profiling])
 AC_ARG_ENABLE([profiling],
     AC_HELP_STRING([--enable-profiling], [link with gprof profiling]),
     [
         case "${enableval}" in
           yes)
               CFLAGS="$CFLAGS -pg"
               CPPFLAGS="$CPPFLAGS -pg"
               CXXFLAGS="$CXXFLAGS -pg"
               ;;
           no)
               ;;
           *)   AC_MSG_ERROR(bad value ${enableval} for --profiling) ;;
         esac
     ],
     [
         enable_profiling=no
     ])
 AC_MSG_RESULT([$enable_profiling])
 AM_CONDITIONAL(GPROF_PROFILING, [test "$enable_profiling" = "yes"])
 
 gsf_flags="`pkg-config libgsf-1 --cflags`"
 gsf_libs="`pkg-config libgsf-1 --libs`"
 if test "$gsf_flags" = ""; then
     AC_MSG_ERROR(libgsf not found)
 fi
 
 AC_SUBST(GSF_FLAGS, [$gsf_flags])
 AC_SUBST(GSF_LIBS, [$gsf_libs])
 
 AC_OUTPUT(                  \
     Makefile                \
     html/Makefile           \
     libpst.pc               \
     libpst.spec             \
     man/Makefile            \
     src/Makefile            \
     src/pst2dii.cpp         \
     python/Makefile         \
     xml/Makefile            \
     xml/libpst              \
     )
diff --git a/libpst.spec.in b/libpst.spec.in
index 76c6fcf..222a459 100644
--- a/libpst.spec.in
+++ b/libpst.spec.in
@@ -1,511 +1,514 @@
 Summary:            Utilities to convert Outlook .pst files to other formats
 Name:               @PACKAGE@
 Version:            @VERSION@
 Release:            1%{?dist}
 License:            GPLv2+
 Group:              Applications/Productivity
 Source:             http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
 BuildRoot:          %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 URL:                http://www.five-ten-sg.com/%{name}/
 Requires:           ImageMagick libgsf
 Requires:           %{name}-libs = %{version}-%{release}
 BuildRequires:      libtool
 BuildRequires:      ImageMagick gd-devel zlib-devel python-devel boost-devel libgsf-devel
 
 %{!?python_sitelib:  %global python_sitelib  %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 
 %description
 The Libpst utilities include readpst which can convert email messages
 to both mbox and MH mailbox formats, pst2ldif which can convert the
 contacts to .ldif format for import into ldap databases, and pst2dii
 which can convert email messages to the DII load file format used by
 Summation.
 
 
 %package libs
 Summary:            Shared library used by the pst utilities
 Group:              Development/Libraries
 
 %description libs
 The libpst-libs package contains the shared library used by the pst
 utilities.
 
 
 %package python
 Summary:            Python bindings for libpst
 Group:              Development/Libraries
 Requires:           python
 Requires:           %{name}-libs = %{version}-%{release}
 
 %if 0%{?fedora} >= 20
 %global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{python_sitearch}/_.*\.so$
 %else
 %{?filter_setup:
 %filter_provides_in %{python_sitearch}/_.*\.so$
 %filter_setup
 }
 %endif
 
 
 %description python
 The libpst-python package allows you to use the libpst shared object
 from python code.
 
 
 %package devel
 Summary:            Library links and header files for libpst application development
 Group:              Development/Libraries
 Requires:           pkgconfig
 Requires:           %{name}-libs = %{version}-%{release}
 
 %description devel
 The libpst-devel package contains the library links and header files
 you'll need to develop applications using the libpst shared library.
 You do not need to install it if you just want to use the libpst
 utilities.
 
 
 %package devel-doc
 Summary:            Documentation for libpst.so for libpst application development
 Group:              Documentation
 Requires:           %{name}-doc = %{version}-%{release}
 
 %description devel-doc
 The libpst-devel-doc package contains the doxygen generated
 documentation for the libpst.so shared library.
 
 
 %package doc
 Summary:            Documentation for the pst utilities in html format
 Group:              Documentation
 
 %description doc
 The libpst-doc package contains the html documentation for the pst
 utilities.  You do not need to install it if you just want to use the
 libpst utilities.
 
 
 
 %prep
 %setup -q
 
 
 %build
 autoreconf -v -f -i
 %configure --enable-libpst-shared
 make %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 rm $RPM_BUILD_ROOT%{_libdir}/libpst.la
 rm $RPM_BUILD_ROOT%{_libdir}/libpst.a
 mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %post libs -p /sbin/ldconfig
 
 
 %postun libs -p /sbin/ldconfig
 
 
 %files
 %defattr(-,root,root,-)
 %{_bindir}/*
 %{_mandir}/man1/*
 %{_mandir}/man5/*
 
 
 %files libs
 %defattr(-,root,root,-)
 %{_libdir}/libpst.so.*
 %doc COPYING
 
 
 %files python
 %defattr(-,root,root,-)
 %{python_sitearch}/_*.so
 %exclude %{python_sitearch}/*.a
 %exclude %{python_sitearch}/*.la
 
 
 %files devel
 %defattr(-,root,root,-)
 %{_libdir}/libpst.so
 %{_includedir}/%{name}-@LIBPST_SO_MAJOR@/
 %{_libdir}/pkgconfig/libpst.pc
 
 
 %files devel-doc
 %defattr(-,root,root,-)
 %{_datadir}/doc/%{name}/devel/
 
 
 %files doc
 %defattr(-,root,root,-)
 %dir %{_datadir}/doc/%{name}/
 %{_datadir}/doc/%{name}/*.html
 %{_datadir}/doc/%{name}/AUTHORS
 %{_datadir}/doc/%{name}/COPYING
 %{_datadir}/doc/%{name}/ChangeLog
 %{_datadir}/doc/%{name}/NEWS
 %{_datadir}/doc/%{name}/README
 
 
 %changelog
+* Mon Dec 21 2015 Carl Byington <carl@five-ten-sg.com> 0.6.66-1
+- Igor Stroh - Added Content-ID header support
+
 * Fri Sep 11 2015 Carl Byington <carl@five-ten-sg.com> 0.6.65-1
 - Jeffrey Morlan - fix multiple Content-Type headers
 - Hans Liss - debug level output
 
 * Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.6.64-6
 - Rebuilt for Boost 1.59
 
 * Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> -
  0.6.64-5
 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
 
 * Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.6.64-4
 - rebuild for Boost 1.58
 
 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> -
  0.6.64-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
 * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.6.64-2
 - Rebuilt for GCC 5 C++11 ABI change
 
 * Mon Mar 09 2015 Carl Byington <carl@five-ten-sg.com> 0.6.64-1
 - fix line wrap on python provides_exclude_from
 - fix unchecked errors found by cppcheck
 - AJ Shankar fixes for attachment processing and body encodings
   that contain embedded null chars.
 
 * Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.6.63-5
 - Rebuild for boost 1.57.0
 
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.63-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.63-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
 * Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.6.63-2
 - rebuild for boost 1.55.0
 
 * Fri Dec 27 2013 Carl Byington <carl@five-ten-sg.com> 0.6.63-1
 - Daniel Gryniewicz found buffer overrun in LIST_COPY_TIME
 
 * Sun Sep 22 2013 Carl Byington <carl@five-ten-sg.com> 0.6.62-1
 - 983596 - Old dependency filter breaks file coloring
 
 * Tue Aug 06 2013 Carl Byington <carl@five-ten-sg.com> 0.6.61-1
 - move documentation to unversioned directory
 
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.59-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
 * Sat Jul 27 2013 pmachata@redhat.com - 0.6.59-3
 - Rebuild for boost 1.54.0
 
 * Wed Jun 12 2013 Carl Byington <carl@five-ten-sg.com> 0.6.60-1
 - patch from Dominique Leuenberger to add AC_USE_SYSTEM_EXTENSIONS
 - add readpst -a option for attachment stripping
 
 * Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 0.6.59-2
 - rebuild for new GD 2.1.0
 
 * Fri May 17 2013 Carl Byington <carl@five-ten-sg.com> 0.6.59-1
 - add autoconf checking for libgsf
 
 * Fri Mar 29 2013 Carl Byington <carl@five-ten-sg.com> 0.6.58-4
 - add autoreconf for aarch64
 
 * Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.6.58-3
 - Rebuild for Boost-1.53.0
 
 * Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.6.58-2
 - Rebuild for Boost-1.53.0
 
 * Fri Dec 28 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.58-1
 - fix From quoting on embedded rfc/822 messages
 
 * Wed Dec 26 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.57-1
 - bugzilla 852414, remove unnecessary dependencies
 
 * Mon Dec 24 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.56-1
 - filter private provides from rpm
 - merge -m .msg files code into main branch
 
 * Thu Aug 09 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.55-2
 - rebuild for python
 
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.54-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
 * Tue May 08 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.55-1
 - preserve bcc headers
 - document -C switch to set default character set
 - space after colon is not required in header fields
 
 * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.54-5
 - Rebuilt for c++ ABI breakage
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.54-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
 * Sat Dec 24 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.54-3
 - bump versions and prep for fedora build
 
 * Wed Nov 30 2011 Petr Pisar <ppisar@redhat.com> - 0.6.53-3
 - Rebuild against boost-1.48
 
 * Mon Nov 14 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.54-2
 - failed to bump version number
 
 * Fri Nov 04 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.54-1
 - embedded rfc822 messages might contain rtf encoded bodies
 
 * Fri Sep 02 2011 Petr Pisar <ppisar@redhat.com> - 0.6.53-2
 - Rebuild against boost-1.47
 
 * Sun Jul 10 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.53-1
 - add Status: header in output
 - allow fork for parallel processing of individual email folders
   in separate mode
 - proper handling of --with-boost-python option
 
 * Sun May 22 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.52-1
 - fix dangling freed pointer in embedded rfc822 message processing
 - allow broken outlook internet header field - it sometimes contains
   fragments of the message body rather than headers
 
 * Sun Apr 17 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.51-1
 - fix for buffer overrun; attachment size from the secondary
   list of mapi elements overwrote proper size from the primary
   list of mapi elements.
   fedora bugzilla 696263
 
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.49-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Mon Feb 07 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.6.49-3
 - rebuild for new boost
 
 * Fri Dec 24 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.50-1
 - rfc2047 and rfc2231 encoding for non-ascii headers and
   attachment filenames.
 
 * Wed Sep 29 2010 jkeating - 0.6.49-2
 - Rebuilt for gcc bug 634757
 
 * Mon Sep 13 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.49-1
 - fix to ignore embedded objects that are not email messages
   fedora bugzilla 633498
 
 * Thu Sep 02 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.48-1
 - fix for broken internet headers from Outlook
 - fix ax_python.m4 to look for python2.7
 - use mboxrd from quoting for output formats with multiple messages per file
 - use no from quoting for output formats with single message per file
 
 * Sat Jul 31 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.47-6
 - rebuild for python dependencies
 
 * Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.47-4
 - hack up configure so that it looks for python 2.7
 
 * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.47-3
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 
 * Wed Jul 07 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.47-2
 - Subpackage Licensing, add COPYING to -libs.
 - patches from Kenneth Berland for solaris
 
 * Fri May 07 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.47-1
 - patches from Kenneth Berland for solaris
 
 * Thu Jan 21 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.46-1
 - prefer libpthread over librt for finding sem_init function.
 
 * Thu Jan 21 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.45-2
 - rebuild for new boost package
 
 * Wed Nov 18 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.45-1
 - patch from Hugo DesRosiers to export categories and notes into vcards.
 - extend that patch to export categories into vcalendar appointments also.
 
 * Sun Sep 20 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.44-1
 - patch from Lee Ayres to add file name extensions in separate mode.
 - allow mixed items types in a folder in separate mode.
 
 * Sat Sep 12 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.43-1
 - decode more of the pst format, some minor bug fixes
 - add support for code pages 1200 and 1201.
 - add readpst -t option to select output item types, which can
   now be used to process folders containing mixed item types.
 - fix segfault with embedded appointments
 - add readpst -u option for Thunderbird mode .size and .type files
 - better detection of embedded rfc822 message attachments
 
 * Thu Sep 03 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.42-1
 - patch from Fridrich Strba to build with DJGPP DOS cross-compiler.
 
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.41-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
 * Tue Jun 23 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.41-1
 - fix ax_python detection - should not use locate command
 - checking for fedora versions is not needed
 
 * Tue Jun 23 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.40-1
 - fedora 11 has python2.6
 - remove pdf version of the man pages
 
 * Sun Jun 21 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.39-1
 - fedora > 10 moved to boost-python-devel
 
 * Sun Jun 21 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.38-1
 - add python interface to the shared library.
 - bump soname to version 4 for many changes to the interface.
 - better decoding of recurrence data in appointments.
 - remove readpstlog since debug log files are now plain text.
 - add readpst -j option for parallel jobs for each folder.
 - make nested mime multipart/alternative to hold the text/html parts.
 
 * Fri Apr 17 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.37-1
 - add pst_attach_to_mem() back into the shared library interface.
 - fix memory leak caught by valgrind.
 
 * Tue Apr 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.36-1
 - build separate -doc and -devel-doc subpackages.
 - other spec file cleanup
 
 * Wed Apr 08 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.35-1
 - properly add trailing mime boundary in all modes.
 - build separate libpst, libpst-libs, libpst-devel rpms.
 
 * Thu Mar 19 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.34-1
 - avoid putting mixed item types into the same output folder.
 
 * Tue Mar 17 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.33-1
 - compensate for iconv conversion to utf-7 that produces strings that
   are not null terminated.
 - don't produce empty attachment files in separate mode.
 
 * Sat Mar 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.32-1
 - fix ppc64 compile error
 
 * Sat Mar 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.31-1
 - bump version for fedora cvs tagging mistake
 
 * Sat Mar 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.30-1
 - track character set individually for each mapi element.
 - remove charset option from pst2ldif since we get that from each
   object now.
 - avoid emitting bogus empty email messages into contacts and
   calendar files.
 
 * Tue Feb 24 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.29-1
 - fix for 64bit on Fedora 11
 
 * Tue Feb 24 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.28-1
 - improve decoding of multipart/report and message/rfc822 mime types.
 - improve character set handling.
 - fix embedded rfc822 messages with attachments.
 
 * Sat Feb 07 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.27-1
 - fix for const correctness on Fedora 11
 
 * Sat Feb 07 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.26-1
 - patch from Fridrich Strba for building on mingw and general
 - cleanup of autoconf files.
 - add processing for pst files of type 0x0f.
 - strip and regenerate all MIME headers to avoid duplicates.
 - do a better job of making unique MIME boundaries.
 - only use base64 coding when strictly necessary.
 
 * Fri Jan 16 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.25-1
 - improve handling of content-type charset values in mime parts
 
 * Thu Dec 11 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.24-1
 - patch from Chris Eagle to build on cygwin
 
 * Thu Dec 04 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.23-1
 - bump version to avoid cvs tagging mistake in fedora
 
 * Fri Nov 28 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.22-1
 - patch from David Cuadrado to process emails with type PST_TYPE_OTHER
 - base64_encode_multiple() may insert newline, needs larger malloc
 - subject lines shorter than 2 bytes could segfault
 
 * Tue Oct 21 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.21-1
 - fix title bug with old schema in pst2ldif.
 - also escape commas in distinguished names per rfc4514.
 
 * Thu Oct 09 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.20-1
 - add configure option --enable-dii=no to remove dependency on libgd.
 - many fixes in pst2ldif by Robert Harris.
 - add -D option to include deleted items, from Justin Greer
 - fix from Justin Greer to add missing email headers
 - fix from Justin Greer for my_stristr()
 - fix for orphan children when building descriptor tree
 - avoid writing uninitialized data to debug log file
 - remove unreachable code
 - create dummy top-of-folder descriptor if needed for corrupt pst files
 
 * Sun Sep 14 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.19-1
 - Fix base64 encoding that could create long lines.
 - Initial work on a .so shared library from Bharath Acharya.
 
 * Thu Aug 28 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.18-1
 - Fixes for iconv on Mac from Justin Greer.
 
 * Tue Aug 05 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.17-1
 - More fixes for 32/64 bit portability on big endian ppc.
 
 * Tue Aug 05 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.16-1
 - Use inttypes.h for portable printing of 64 bit items.
 
 * Wed Jul 30 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.15-1
 - Patch from Robert Simpson for file handle leak in error case.
 - Fix for missing length on lz decompression, bug found by Chris White.
 
 * Sun Jun 15 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.14-1
 - Fix my mistake in debian packaging.
 
 * Fri Jun 13 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.13-1
 - Patch from Robert Simpson for encryption type 2.
 
 * Tue Jun 10 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.12-1
 - Patch from Joachim Metz for debian packaging and
 - fix for incorrect length on lz decompression
 
 * Tue Jun 03 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.11-1
 - Use ftello/fseeko to properly handle large files.
 - Document and properly use datasize field in b5 blocks.
 - Fix some MSVC compile issues and collect MSVC dependencies into one place.
 
 * Thu May 29 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.10-1
 - Patch from Robert Simpson for doubly-linked list code and arrays of unicode strings.
 
 * Fri May 16 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.9
 - Patch from Joachim Metz for 64 bit compile.
 - Fix pst format documentation for 8 byte backpointers.
 
 * Wed Mar 05 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.8
 - Initial version of pst2dii to convert to Summation dii load file format
 - changes for Fedora packaging guidelines (#434727)
 
 * Tue Jul 10 2007 Carl Byington <carl@five-ten-sg.com> - 0.5.5
 - merge changes from Joe Nahmias version
 
 * Sun Feb 19 2006 Carl Byington <carl@five-ten-sg.com> - 0.5.3
 - initial spec file using autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html