Apache SpamAssassin: Difference between revisions

Content deleted Content added
Rescuing 2 sources and tagging 0 as dead.) #IABot (v2.0.1
m revert - already listed at https://www.wikidata.org/wiki/Q1503674 , which is captured by the property listed here
 
(32 intermediate revisions by 29 users not shown)
Line 1:
{{Short description|Open-source e-mail spam filter}}
{{Use dmy dates|date=August 2023}}
{{More citations needed |date=May 2024}}
{{Infobox software
| name = Apache SpamAssassin
| logo = Apache SpamAssassin logo.svg
| logo size = 210px
| screenshot = Reco spam.png
| developer = [[Apache Software Foundation]]<ref>{{cite web|url=http://svn.apache.org/repos/asf/spamassassin/trunk/CREDITS|title=Project Management Committee|website=The Apache Software Foundation|year=2022|access-date=23 August 2023}}</ref>
| released = {{Start date and age|2001|04|20}}
| latest release version = {{wikidata|property|preferred|references|edit|Q1503674|P348|P548=Q2804309}}
| latest release version = 3.4.4<ref>{{cite web | title=SpamAssassin: News and Announcements | accessdate=2020-01-28 |url = http://spamassassin.apache.org/news.html}}</ref>
| latest release date = {{releasestart date and age|2020{{wikidata|01qualifier|28preferred|dfsingle|Q1503674|P348|P548=noQ2804309|P577}}}}
| operating system = [[Cross-platform]]
| repo = {{URL|https://svn.apache.org/repos/asf/spamassassin/|SpamAssassin Repository}}
| programming language = [[Perl]], [[C (programming language){{#statements:P277|C]]from=Q1503674}}
| genre = [[Spam filter]]
| license = [[Apache License 2.0]]
Line 18 ⟶ 22:
 
==History==
Apache SpamAssassin was created by Justin Mason, who had maintained a number of patches against an earlier program named ''filter.plx'' by Mark Jeftovic, which in turn was begun in August 1997. Mason rewrote all of Jeftovic's code from scratch and uploaded the resulting codebase to [[SourceForge]] on April 20, 2001.<ref>{{cite web |title=SpamAssassin Prehistory |url=https://spamassassin.apache.org/old/prehistory/index.html |publisher=Apache Foundation |accessdateaccess-date=19 December 2018}}</ref>
 
In Summer 2004 the project became an [[Apache Software Foundation]] project and later officially renamed to ''Apache SpamAssassin''.<ref>{{cite web |title=SpamAssassin Project Incubation Status |url=http://incubator.apache.org/projects/spamassassin.html |publisher=Apache Foundation |accessdateaccess-date=19 December 2018}}</ref>
 
The SpamAssassin 3.4.2 release was the first in well over three years, but the developers say that "The project has picked up a new set of developers and is moving forward again.".<ref>{{cite web |title=SpamAssassin is back |url=https://lwn.net/Articles/769917/ |publisher=LWN.net |accessdate=19 December 2018}}</ref> In late 2019, version 3.4.3 of SpamAssassin was released.
 
In late January, 2020, version 3.4.4 of SpamAssassin was released. This is primarily a security release and work on a pre-release of 4.0.0 is the project's focus.
 
==Methods of usage==
Apache SpamAssassin is a [[Perl]]-based application ({{mono|Mail::SpamAssassin}} in [[CPAN]]) which is usually used to filter all incoming mail for one or several users. It can be run as a [[Computer process|standalone application]] or as a subprogram of another application (such as a [[Milter]], [[SA-Exim]], [[Exiscan]], [[MailScanner]], [[MIMEDefang]], [[Amavis]]) or as a [[client (computing)|client]] ({{mono|spamc}}) that communicates with a [[daemon (computer software)|daemon]] ({{mono|spamd}}). The client/server or embedded mode of operation has performance benefits, but under certain circumstances may introduce additional security risks.
 
Typically either variant of the application is set up in a generic [[mail filter]] program, or it is called directly from a [[mail user agent]] that supports this, whenever new mail arrives. Mail filter programs such as [[procmail]] can be made to [[pipe (computing)|pipe]] all incoming mail through Apache SpamAssassin with an adjustment to a user's {{mono.|procmailrc}} file.
 
==Operation==
Line 47:
Apache SpamAssassin also supports:
* [[DNSBL|DNS-based blacklists]] and [[DNSWL|DNS-based whitelists]]
* Fuzzy-checksum-based spam detection filters such as the [[Distributed Checksum Clearinghouse]], [httphttps://razor.sourceforge.net/ Vipul's Razor] {{Webarchive|url=https://web.archive.org/web/20130328202325/http://razor.sourceforge.net/ |date=28 March 2013 }} and the Cloudmark Authority plugins (commercial)
* [[Hashcash]] email stamps based on [[Proof-of-work system|proof-of-work]]
* [[Sender Policy Framework]] and [[DomainKeys Identified Mail]]
Line 57:
Apache SpamAssassin reinforces its rules through [[Bayesian spam filtering|Bayesian filtering]] where a user or administrator "feeds" examples of good (ham) and bad (spam) into the filter in order to learn the difference between the two. For this purpose, Apache SpamAssassin provides the command-line tool {{mono|sa-learn}}, which can be instructed to learn a single mail or an entire mailbox as either ham or spam.
 
Typically, the user will move unrecognized spam to a separate folder, and then run {{mono|sa-learn}} on the folder of non-spam and on the folder of spam separately. Alternatively, if the mail user agent supports it, {{mono>|sa-learn}} can be called for individual emails. Regardless of the method used to perform the learning, SpamAssassin's Bayesian test will help score future e-mails based on this learning to improve the accuracy.
 
==Licensing==
Apache SpamAssassin is [[free software|free]]/[[open source software]], licensed under the [[Apache License|Apache License 2.0]]. Versions prior to 3.0 are dual-licensed under the [[Artistic License]] and the [[GNU General Public License]].
 
Many commercially available anti-spam packages integrate SpamAssassin as part of their products, such as SpamKiller by [[McAfee]] and [[Kerio MailServer]] by Kerio.<ref name="Hong">{{cite book |last1=Hong |first1=Bryan |title=Building A Server with FreeBSD 7: A Modular Approach |date=2008 |publisher=No Starch Press |___location=San Francisco |isbn=9781593271459 |page=197 |edition=1st}}</ref>
 
==sa-compile==
<code>sa-compile</code> is a utility distributed with Apache SpamAssassin that compiles a SpamAssassin ruleset into a [[deterministic finite automaton]] that allows Apache SpamAssassin to use processor power more efficiently.
 
==Testing Apache SpamAssassin==
Apache SpamAssassin is designed to trigger on the [[GTUBE]], a 68-byte string similar to the antivirus [[EICAR test file]]. If this string is inserted in an RFC 5322 formatted message and passed through the Apache SpamAssassin engine, Apache SpamAssassin will trigger with a weight of 1000.
 
Line 103 ⟶ 105:
==External links==
* {{official website}}
* [https://webcwiki.archiveapache.org/webconfluence/20190422112556/https://wiki.apache.orgdisplay/spamassassinSPAMASSASSIN/ Apache SpamAssassin Wiki]
* [https://webcwiki.archiveapache.org/webconfluence/20190422112558/https://wiki.apache.orgdisplay/spamassassinSPAMASSASSIN/RuleUpdates Apache SpamAssassin Rule Updates Wiki] Automatically updating Apache SpamAssassin
* [httphttps://www.mcgrail.com/downloadstemplate/KAM.cfprojects#KAM1 KAM.cf] KAM Ruleset for Apache SpamAssassin
 
{{Apache Software Foundation}}
Line 111 ⟶ 113:
 
{{DEFAULTSORT:Spamassassin}}
[[Category:Apache Software Foundation projects|SpamAssassin]]
[[Category:Cross-platform software]]
[[Category:Free email software]]
[[Category:Free software programmed in Perl]]
[[Category:Perl softwareAnti-spam]]
[[Category:SpamAnti-spam filteringserver softwares]]
[[Category:Spamming]]
[[Category:Email-related software for Linux]]