Skip to content

Linux - extract data from an "OLE Compound" file

As seen here, 7-Zip can extract the contents:
$ file PGPexch.ole
PGPexch.ole: Composite Document File V2 Document, No summary info
$ 7z x PGPexch.ole

7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: PGPexch.ole

Extracting [1]CompObj
Extracting [1]Ole
Extracting CONTENTS
Extracting [3]ObjInfo
Extracting [2]OlePres000
Extracting [3]MailStream

Everything is Ok

Files: 6
Size: 104336
Compressed: 108544
$ file CONTENTS
CONTENTS: PDF document, version 1.5
$
(If the OLE data is hidden in a WINMAIL.DAT file, you may have to extract it with tnef first.)

  • Twitter
  • Bookmark Linux - extract data from an "OLE Compound" file at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Linux - extract data from an "OLE Compound" file
  • Mixx Linux - extract data from an "OLE Compound" file
  • Bloglines Linux - extract data from an "OLE Compound" file
  • Technorati Linux - extract data from an "OLE Compound" file
  • Fark this: Linux - extract data from an "OLE Compound" file
  • Bookmark Linux - extract data from an "OLE Compound" file at YahooMyWeb
  • Bookmark Linux - extract data from an "OLE Compound" file at Furl.net
  • Bookmark Linux - extract data from an "OLE Compound" file at reddit.com
  • Bookmark Linux - extract data from an "OLE Compound" file at blinklist.com
  • Bookmark Linux - extract data from an "OLE Compound" file at Spurl.net
  • Bookmark Linux - extract data from an "OLE Compound" file at NewsVine
  • Bookmark Linux - extract data from an "OLE Compound" file at Simpy.com
  • Bookmark Linux - extract data from an "OLE Compound" file at blogmarks
  • Bookmark Linux - extract data from an "OLE Compound" file with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Thunderbird - change default message forward mode from "inline" to "attached"

For years the default behaviour in Thunderbird had been to forward e-mails as attachments, but at some point it was changed to "inline". You can still manually choose how you'd like to transfer a message by going to "Message" -> "Forward as", but I couldn't find a way to set the default in the preferences.

There is, however, a way to change it without messing with manual edit of config files. Go to "Preferences" -> "Advanced" -> "Config Editor...", and look for "mail.forward_message_mode". 0 is for "attached", 2 is for "inline".
  • Twitter
  • Bookmark Thunderbird - change default message forward mode from "inline" to "attached" at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Thunderbird - change default message forward mode from "inline" to "attached"
  • Mixx Thunderbird - change default message forward mode from "inline" to "attached"
  • Bloglines Thunderbird - change default message forward mode from "inline" to "attached"
  • Technorati Thunderbird - change default message forward mode from "inline" to "attached"
  • Fark this: Thunderbird - change default message forward mode from "inline" to "attached"
  • Bookmark Thunderbird - change default message forward mode from "inline" to "attached" at YahooMyWeb
  • Bookmark Thunderbird - change default message forward mode from "inline" to "attached" at Furl.net
  • Bookmark Thunderbird - change default message forward mode from "inline" to "attached" at reddit.com
  • Bookmark Thunderbird - change default message forward mode from "inline" to "attached" at blinklist.com
  • Bookmark Thunderbird - change default message forward mode from "inline" to "attached" at Spurl.net
  • Bookmark Thunderbird - change default message forward mode from "inline" to "attached" at NewsVine
  • Bookmark Thunderbird - change default message forward mode from "inline" to "attached" at Simpy.com
  • Bookmark Thunderbird - change default message forward mode from "inline" to "attached" at blogmarks
  • Bookmark Thunderbird - change default message forward mode from "inline" to "attached" with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Lightning for x86_64 Linux (amd64)

Lightning is a Thunderbird plug-in that adds calendar functions. More on the mozilla.org page. I tried to install the .xpi from there, but it failed with the following error message:
"Lightning" could not be installed because it is not compatible with your Thunderbird build type (Linux_x86_64-gcc3). Please contact the author of this item about the problem.

So I downloaded the source from this page, and followed the instructions from here. This page and the link to that one were also helpful.

In case you don't want to open all those links, I've put the resulting .xpi file here for you to download: lightning-0.3.1-x86_64.xpi. Or if you prefer to build it yourself, here is how I did it:
[untar/bz, cd mozilla]
make distclean
export CFLAGS="-O2 -pipe -fPIC"
export CHOST="x86_64-pc-linux-gnu"
export CXXFLAGS="${CFLAGS}"
export MAKEOPTS="-j3"
ac_cv_visibility_pragma=no ./configure --enable-application=mail --enable-extensions=default,lightning
make

(of course you may want to change some stuff to better suit your system, I've got a Core 2 Duo laptop running Gentoo Linux)

Then just select Tools > Extensions in Thunderbird and install the lightning.xpi you've just built (located in dist/xpi-stage/lightning.xpi).


UPDATE - 2007-06-28 - Lightning 0.5

After reading Matthew's comment I downloaded the newly released Lightning 0.5 from here, and built lightning-0.5-x86_64.xpi following the exact same procedure that I used for 0.3.1. Then I installed it from Tools > Extensions, restarted Thunderbird and immediately noticed the different appearance. (I did not uninstall 0.3.1 first, which apparently is ok.)

UPDATE - 2008-09-28 - Lightning 0.9

Download from http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/0.9/contrib/linux-x86_64/
  • Twitter
  • Bookmark Lightning for x86_64 Linux (amd64) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Lightning for x86_64 Linux (amd64)
  • Mixx Lightning for x86_64 Linux (amd64)
  • Bloglines Lightning for x86_64 Linux (amd64)
  • Technorati Lightning for x86_64 Linux (amd64)
  • Fark this: Lightning for x86_64 Linux (amd64)
  • Bookmark Lightning for x86_64 Linux (amd64) at YahooMyWeb
  • Bookmark Lightning for x86_64 Linux (amd64) at Furl.net
  • Bookmark Lightning for x86_64 Linux (amd64) at reddit.com
  • Bookmark Lightning for x86_64 Linux (amd64) at blinklist.com
  • Bookmark Lightning for x86_64 Linux (amd64) at Spurl.net
  • Bookmark Lightning for x86_64 Linux (amd64) at NewsVine
  • Bookmark Lightning for x86_64 Linux (amd64) at Simpy.com
  • Bookmark Lightning for x86_64 Linux (amd64) at blogmarks
  • Bookmark Lightning for x86_64 Linux (amd64) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline)

For years I've been annoyed by the habit thunderbird has to set "Content-Disposition: inline" when you attach a text file to an outgoing e-mail.

Experimenting with our mail to fax gateway, I finally took the time to fix it today. As with some other "advanced" settings in Fireforx/Thunderbird, there is an option you can set to achieve the (imho) correct behavior, but no GUI dialog for it.

So in order to have outgoing text files attached with "Content-Disposition: attachment", you need to set mail.content_disposition_type to 1 (default is 0). You can do this by going to "Edit" -> "Preferences" -> "Advanced" -> "Config Editor". (Using the windows version it's probably "Tools" -> "Options" -> etc.)
  • Twitter
  • Bookmark How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline)
  • Mixx How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline)
  • Bloglines How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline)
  • Technorati How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline)
  • Fark this: How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline)
  • Bookmark How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline) at YahooMyWeb
  • Bookmark How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline) at Furl.net
  • Bookmark How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline) at reddit.com
  • Bookmark How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline) at blinklist.com
  • Bookmark How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline) at Spurl.net
  • Bookmark How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline) at NewsVine
  • Bookmark How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline) at Simpy.com
  • Bookmark How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline) at blogmarks
  • Bookmark How to set thunderbird to correctly attach text files (with Content-Disposition: attachment instead of inline) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca