I would suggest this ready rolled, free, with source code, (non Perl) solution: Personal Message Store (PST) Export Utility 1.0. You can export a PST of just the junk mail folder from outlook with File|Export|etc beforehand to separate out the junk.
This gives you the original full headers (probably), newline separated ie in standard *nix format.
cheers
tachyon
In reply to Re: Reading an Outlook PST FIle
by tachyon
in thread Reading an Outlook PST FIle
by BaldPenguin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |