Content deleted Content added
Mindmatrix (talk | contribs) m revert - already listed at https://www.wikidata.org/wiki/Q1503674 , which is captured by the property listed here |
|||
(48 intermediate revisions by 37 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
| logo =
| logo size
| screenshot = Reco spam.png
| developer
| released
| latest release
| latest release date = {{start date and age|{{wikidata|qualifier|preferred|single|Q1503674|P348|P548=Q2804309|P577}}}}
| operating system
| programming language = [[Perl]]▼
| repo = {{URL|https://svn.apache.org/repos/asf/spamassassin/|SpamAssassin Repository}}
| genre = [[Spam filter|Email spam filter]]▼
| license = [[Apache License]] 2.0▼
}}
'''Apache SpamAssassin''' is a [[computer program]] used for [[anti-spam techniques|e-mail spam filtering]]. It uses a variety of spam-detection techniques, including [[Domain Name System|DNS]]
The program can be integrated with the [[Mail transfer agent|mail server]] to automatically filter all mail for a site. It can also be run by individual users on their own mailbox and integrates with several [[mail user agent|mail programs]]. Apache SpamAssassin is highly configurable; if used as a system-wide filter it can still be configured to support per-user preferences.
==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 |
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 |
==Methods of usage==
Apache SpamAssassin is a [[Perl]]-based application (
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
==Operation==
Line 32 ⟶ 35:
Each test has a score value that will be assigned to a message if it matches the test's criteria. The scores can be positive or negative, with positive values indicating "spam" and negative "ham" (non-spam messages). A message is matched against all tests and Apache SpamAssassin combines the results into a global score which is assigned to the message. The higher the score, the higher the probability that the message is spam.
Apache SpamAssassin has an internal (configurable) score threshold to classify a message as spam. Usually a message will only be considered as spam if it matches multiple criteria; matching just a single test will not usually be enough to reach the threshold.
Line 46 ⟶ 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]], [
* [[Hashcash]] email stamps based on [[Proof-of-work system|proof-of-work]]
* [[Sender Policy Framework]] and [[DomainKeys Identified Mail]]
Line 54 ⟶ 55:
==Bayesian filtering==
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
Typically, the user will move unrecognized spam to a separate folder, and then run
==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 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 87 ⟶ 90:
| url = http://www.packtpub.com/spamassassin/book
}}
*{{cite book |first1 = Alan
|last1
|title
|edition = 1st
▲| publisher = [[O'Reilly Media]]
|page = [https://archive.org/details/spamassassin00schw/page/207 207]
|date
|isbn
|url = https://archive.org/details/spamassassin00schw/page/207
|url-access = registration
}}
{{Refend}}
Line 102 ⟶ 105:
==External links==
* {{official website}}
* [https://
* [https://
* [
{{Apache Software Foundation}}
{{Perl}}
{{DEFAULTSORT:Spamassassin}}
[[Category:Apache Software Foundation projects|SpamAssassin]]
[[Category:Cross-platform software]]
[[Category:Free email software]]
[[Category:Free software programmed in Perl]]
[[Category:
[[Category:
[[Category:Spamming]]
[[Category:Email-related software for Linux]]
|