A long awaited feature was landed on the Thunderbird trunk last night. It is the ability to filter newsgroup messages based on any header. You can test it by downloading and using the latest Thunderbird trunk builds.
Thanks to Joshua Cranmer for creating the patch.