SpamAssassin Changelog

What's new in SpamAssassin 4.0.0.43

Mar 27, 2023
  • SpamAssassin for Windows now includes SpamAssassin v4.0.
  • Support for Windows Server 2022 (64-bit) has been added.
  • Support for Windows 11 (64-bit) has been added.
  • SpamAssassin for Windows is still available as a 64-bit version.
  • Changes in SpamAssassin v4.0 (spamassassin.apache.org).

New in SpamAssassin 3.4.4.42 (May 25, 2022)

  • FromNameSpoof: the default value of the fns_extrachars parameter was increased to 50.
  • nosubject and maxhits tflags now work correctly with sa-compile.
  • Added new subject prefix keyword. This can be used to add a prefix to an email subject if the original email matches a certain rule.
  • New function Util::is_fqdn_valid() to validate the format of hostnames (DNS names) (error 7736). To check if a name contains a valid TLD, it is still necessary to additionally use RegistryBoundaries::is_domain_valid().
  • New OLEVBMacro plugin to detect OLE macro in documents attached to emails. This plugin requires Archive::Zip and IO::String Perl modules to work.
  • Due to the dangerous nature of the sa-update --allowplugins option, a warning is now issued that --reallyallowplugins is required to use it. This is to ensure that all legacy installations and wiki guides, etc. that still use it unnecessarily are fixed.
  • The TxRep and Awl plugins have been modified to be compatible with the latest Postgresql versions. You should update your SQL database with the following command: MySQL: "ALTER TABLE `txrep` CHANGE `count` `msgcount` INT(11) NOT NULL DEFAULT '0';";" "ALTER TABLE `awl` CHANGE `count` `msgcount` INT(11) NOT NULL DEFAULT '0';";" "ALTER TABLE `awl` ADD last_hit timestamp NOT NULL default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;";" PostgreSQL: "ALTER TABLE txrep RENAME COLUMN count TO msgcount;" PostgreSQL: "ALTER TABLE txrep RENAME COLUMN count TO msgcount;" "ALTER TABLE awl RENAME COLUMN count TO msgcount;" "ALTER TABLE awl ADD last_hit timestamp NOT NULL default CURRENT_TIMESTAMP;".
  • body_part_scan_size 50000, rawbody_part_scan_size 500000 default values added (error 6582). These allow safer and faster scanning of large emails.
  • All pseudo-headers now return decoded headers, so their usage is consistent with simple header matching (:raw returns undecoded and folded as before).
  • RegistryBoundaries did not load 20_aux_tlds.cf correctly in older versions. The old hardcoded list is now removed and RB prints "no tlds defined, need to run sa-update" unless it can find a list from the configuration files.
  • Deprecated functions: Parser::is_delimited_regexp_valid(), Parser::is_regexp_valid(), Util::regexp_remove_delimiters(), Use::make_qr(). These are all combined into the new Util::compile_regexp() function.
  • DNSEval: adds "check_rbl_headers" to check specific headers in RBL.
  • DNSEval: adds "check_rbl_ns_from" to check against an RBL for DNS servers.
  • HashBL: adds check_hashbl_bodyre, check_hashbl_emails, check_hashbl_uris, hashbl_ignore.
  • ASN: support IPv6 with asn_lookup_ipv6 (bug 7211).
  • sa-update: new --httputil option to force the download program used.
  • Added rules_matching() expression to meta rules.
  • Added tflags domains_only/ips_only to DNSEval.pm functions.
  • RelayCountry: added new metadata: X-Spam-Country-External (_RELAYCOUNTRYEXT_), X-Spam-Country-Auth (_RELAYCOUNTRYAUTH_), X-Spam-Country-All (_RELAYCOUNTRYAUTH_) - New tflag "nosubject" for "body" rules to stop matching the subject that is part of the body text.

New in SpamAssassin 3.4.0.30 (Jun 6, 2014)

  • Scan date issue fixed, "taint mode" disabled.

New in SpamAssassin 3.4.0.28 (Apr 4, 2014)

  • Apache SpamAssassin 3.4.0 has been integrated

New in SpamAssassin 3.4.0.26 (Feb 7, 2014)

  • The version number of "SpamAssassin for Windows" now corresponds to the version number of the Apache SpamAssassin project.
  • Apache SpamAssassin version 3.4.0-RC5 ("release candidate" of the major version 3.4.0) has been integrated. For a complete list of changes, please click here.
  • The batch script "trainbayes.bat" allowing quick and simple training of spam/ham mails in a specific folder has been added.
  • Several minor improvements have been incorporated.

New in SpamAssassin 1.2.1.15 (Feb 23, 2012)

  • Bugfix: SPF checks are now passed without any warnings.
  • Bugfix: Dissolving the temporary directory for Windows Vista and Windows 7 has been improved.
  • A few minor fixes have been incorporated.