m sp: a overall→an overall |
Oops |
||
(51 intermediate revisions by 38 users not shown) | |||
Line 1: | Line 1: | ||
{{Unreferenced |date=May 2024}} |
|||
⚫ | |||
'''policyd-weight''' is a mail filter for the [[Postfix (software)|Postfix]] [[mail transfer agent]] (MTA) written in [[Perl]]. It allows postfix to evaluate mail envelope information and to score mail against several DNS-based Blackhole Lists ([[DNSBL]]) before the mail is queued. The final score will determine whether a mail is rejected or accepted, in which case it is usually then subject to more resource intensive checks by a virus scanner and [[Spamming|spam]] filter. |
|||
==Features== |
|||
⚫ | The benefit of this approach is |
||
⚫ | policyd-weight works as a [[policy daemon]] in [[Postfix (software)|Postfix]]. It uses [[DNSBL]], [[RHSBL]], [[MX record|MX]] and [[A record|A]] [[Domain Name System|DNS]] queries of the [[envelope sender]] and HELO [[Simple Mail Transfer Protocol|SMTP]] arguments to evaluate the possibility of either [[Message forgery|forgery]] or [[Spamming|spam]]. Rejection happens based on an overall score, so a single blacklist entry may not cause the mail to be rejected. The score is determined by various checks and is not linear. The administrator is able to adjust scores for each check to meet her requirements. policyd-weight caches the most frequent queries to minimize bandwidth and CPU usage. |
||
⚫ | The benefit of this approach is that it is able to reject a delivery attempt before the body (DATA) of the mail has been received (unlike most installations of [[SpamAssassin]] or [[Amavis]]), thus saving network bandwidth. Also it does not add delays like [[Greylisting (email)|Greylisting]] and keeps out clients which fake HELO or sender information with a better accuracy and fewer [[Type I and type II errors|false positives]] than [[Sender Policy Framework]] (SPF) checks (example: blocked forwarders due to inconsistent SPF-records or passed Spam/Phishing due to Spam/Phishing-Domains with consistent SPF-records set). |
||
==Licensing and usage elsewhere== |
|||
⚫ | |||
==Licensing== |
|||
⚫ | |||
⚫ | |||
* [http://www.policyd-weight.org/ Policyd-weight official Homepage] |
|||
⚫ | |||
==See also== |
|||
⚫ | |||
{{Portal|Free software}} |
|||
⚫ | |||
⚫ | |||
==Further reading== |
|||
* {{cite book | last=Heinlein | first=Peer | title=Das Postfix-Buch | date=2008 | isbn=978-3-937514-50-5 | language=de | url = https://docplayer.org/791758-Heinlein-das-postfix-buch-copyright-c-open-source-press.html | chapter = Sect. 9.3| publisher=Open Source Press }} |
|||
⚫ | |||
* [https://github.com/Whissi/policyd-weight policyd-weight git repository] |
|||
* [http://www.freebsd.org/cgi/ports.cgi?query=policyd-weight&stype=all FreeBSD Ports] |
* [http://www.freebsd.org/cgi/ports.cgi?query=policyd-weight&stype=all FreeBSD Ports] |
||
* [http://www.mail-archive.com/policyd-weight-list%40ek-muc.de/ Mailinglist |
* [http://www.mail-archive.com/policyd-weight-list%40ek-muc.de/ Mailinglist archive] |
||
{{DEFAULTSORT:Policyd-Weight}} |
|||
[[Category:Spam filtering]] |
[[Category:Spam filtering]] |
||
[[Category:Anti- |
[[Category:Anti-spam]] |
||
[[Category:Message transfer agents]] |
|||
[[Category:Free software programmed in Perl]] |
|||
[[Category:Software using the GPL license]] |
Revision as of 00:08, 3 May 2024
policyd-weight is a mail filter for the Postfix mail transfer agent (MTA) written in Perl. It allows postfix to evaluate mail envelope information and to score mail against several DNS-based Blackhole Lists (DNSBL) before the mail is queued. The final score will determine whether a mail is rejected or accepted, in which case it is usually then subject to more resource intensive checks by a virus scanner and spam filter.
Features
policyd-weight works as a policy daemon in Postfix. It uses DNSBL, RHSBL, MX and A DNS queries of the envelope sender and HELO SMTP arguments to evaluate the possibility of either forgery or spam. Rejection happens based on an overall score, so a single blacklist entry may not cause the mail to be rejected. The score is determined by various checks and is not linear. The administrator is able to adjust scores for each check to meet her requirements. policyd-weight caches the most frequent queries to minimize bandwidth and CPU usage.
The benefit of this approach is that it is able to reject a delivery attempt before the body (DATA) of the mail has been received (unlike most installations of SpamAssassin or Amavis), thus saving network bandwidth. Also it does not add delays like Greylisting and keeps out clients which fake HELO or sender information with a better accuracy and fewer false positives than Sender Policy Framework (SPF) checks (example: blocked forwarders due to inconsistent SPF-records or passed Spam/Phishing due to Spam/Phishing-Domains with consistent SPF-records set).
Licensing
policyd-weight is Free software, licensed and released under the GNU General Public License
See also
Further reading
- Heinlein, Peer (2008). "Sect. 9.3". Das Postfix-Buch (in German). Open Source Press. ISBN 978-3-937514-50-5.