Junk Mail Controls
From MozillaZine Knowledge Base
Both Mozilla Thunderbird and the Mozilla Suite can detect and filter unwanted emails. In order for the junk-mail filtering to be effective, you first need to "train" it because it uses Bayesian filtering.
For more information