Mail filtering in Thunderbird 1.5
[Posted October 10, 2005 by corbet]
Your editor recently had a chance to try out the second beta Thunderbird
1.5 release. There are a number of nice additions in this release of
Mozilla's mail client - and a few not-so-nice subtractions, in the form of
broken extensions. This article will concentrate on a couple of
security-related features.
Thunderbird has had spam filtering for some time. Your editor has never
given it a full test, however. Happily, an ideal resource exists for this
purpose: your editor's 4000-spam-per-day mail stream. A quick config file
tweak directed a copy of this stream, unfiltered, into Thunderbird to see
how it would react.
The bayesian filter built into Thunderbird turns out to be a quick learner.
After 100
messages or so, it was busily marking most messages itself. The speed with
which it learns tempts the user to turn on automatic spam-canning of marked
mail early in the process; it is such a delight to see that stuff simply
disappear. Training a SpamAssassin filter takes quite a bit longer.
Unfortunately, the Thunderbird filter appears to learn too quickly,
with the result that false positives become a problem. As long as
Thunderbird is not configured to automatically refile spam, the false
positives can be corrected with, one assumes, an appropriate tweaking of
the filter. Once spams have been diverted, however, there appears to be no
way to tell Thunderbird that it made a mistake. So new Thunderbird users
would be well advised to look over its spam classification decisions for
some time before empowering it to refile mail automatically.
SpamAssassin's more conservative approach may well turn out to be better
for people who cannot afford to lose mail. Happily, Thunderbird 1.5
includes an option which causes it to defer to SpamAssassin on filtering.
Thus, the system administrator can use SpamAssassin to add headers to mail,
and individual users can have Thunderbird act on those headers if desired.
A truly new feature in 1.5 is phishing detection. A few simple rules have
been added to detect phishy links; essentially, a message will be flagged
if a URL contains a numeric IP address or the link text contains an address
which fails to match the link destination. In these cases, clicking on a
suspect link will result in a dialog explaining the situation and asking if
the user wishes to proceed. Thunderbird will also mark such messages with
a line saying "Mail/News thinks this message might be an email scam."
This capability is a step in the right direction, but it has some obvious
shortcomings. It failed to detect a number of random phishes found in your
editor's mailbox. The "this might be junk" message also overrides the
phishing warning; arguably the scam warning should take priority. The real
risk, though, is that users might think that, if Thunderbird does not flag
a message, it must be legitimate. Remember, these are people who fall for
phishing scams in the first place.
The best way to avoid that possibility would be to improve the detection of
phishing messages. One wonders if the bayesian filter could be trained to
this purpose as well as detecting spam. There is also ample opportunity
for cooperation with anti-phishing groups which maintain lists of known
phishing sites - though one would have to be careful to preserve a user's
privacy when checking links.
Quibbles aside, Thunderbird 1.5 is a step in the right direction toward a
more secure email environment. More work clearly remains to be done - but
that is likely to always be the case. Meanwhile, tools which help to reduce the
spam and phishing problems can only be a good thing.
(
Log in to post comments)