How to build Thunderbird 3.0.4 from source
Commit references can be found in the release notes on the wiki: https://wiki.mozilla.org/Releases/Thunderbird_3.0.4
hg clone -r b8e06312e645 http://hg.mozilla.org/releases/comm-1.9.1 thunderbird
cd thunderbird
echo 'ac_add_options --enable-application=mail' > .mozconfig
echo 'mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb-release' >> .mozconfig
hg clone -r ead1204d8b81 http://hg.mozilla.org/releases/mozilla-1.9.1 mozilla
Install the build dependencies (https://developer.mozilla.org/En/Simple_Firefox_build).
Now we can start the build
make -f client.mk