SpamAssassin 4.0 Anti-Spam Platform Gets Full Unicode Support

SpamAssassin 4.0, a major upgrade for this unwanted mail filtering system, brings full Unicode support and many other new features.

SpamAssassin is an open-source spam filtering platform that uses a combination of rule-based, DNS, and fuzzy checksum techniques to identify spam emails. It is designed to be run on a server and can be integrated with various email servers, including Postfix, Sendmail, and Exim.

With over 20 years of history, developed by the Apache Foundation, SpamAssassin has built a well-deserved reputation as one of the most excellent free spam protection tools. As a result, it is widely used by email service providers and individuals to help reduce the amount of spam in their inboxes.

Todayโ€™s release of the brand new major 4.0 version is a significant step forward in developing this software. So letโ€™s see whatโ€™s new.

SpamAssassin 4.0 Highlights

Over the previous 3.4.6 releases, dated back in April 2021, SpamAssassin 4.0 features numerous tweaks and bug fixes. Above all, it includes major enhancements that significantly improve text handling in international languages.

Namely, support for the UTF-8 encoding text has been completed and greatly enhanced to allow native UTF-8 processing. As a result of this enhancement, SpamAssassin 4.0 is expected to perform significantly better at detecting and blocking spam-containing content written in languages other than English.

On top of that, the Bayes plugin has been improved to avoid popular terms, often known as noise words, also written in languages other than English. And while we’re on the subject of plugins, we can’t help but mention that SpamAssassin 4.0 includes three new ones. Here’s who they are.

  • ExtractText: Extracts text from message sections using external tools and then sets the text as the rendered part.
  • DMARC: After parsing DKIM and SPF data, the plugin checks if emails match the DMARC policy.
  • DecodeShortURLs: The plugin looks for URLs shortened by a list of URL-shortening services. Then, it adds this URL to SpamAssassin’s list of extracted URIs, which may be accessible by URI rules and plugins like URIDNSBL.

Aside from the features stated above, SpamAssassin 4.0 includes a few others that we should mention. First, all rules, functions, command line arguments, and modules containing the terms โ€œwhitelistโ€ or โ€œblacklistโ€ have been renamed โ€œwelcomelistโ€ and โ€œblocklist,โ€ respectively.

Moreover, meta-rules no longer use priority values; instead, they are evaluated dynamically when the rules on which they rely are completed. Finally, weโ€™ll mention that SpamAssassin 4.0 is the result of 18 months of hard effort by the developers, and it includes a long list of bug fixes, which you can view here.

For more about all novelties, you can refer to the release notes.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 69%