SpamPal compares email senders to DNSBL lists and then marks the email as spam. Thunderbird can then identify it and put it in a junk or other folder.
SpamPal: http://www.spampal.org/
Installing SpamPal on Thunderbird: http://spampal.sanesecurity.com/manual_eng
/clients/thunderbird/thunderbird.html