- Policyd-weight
policyd-weight is a mail filter for the Postfix
mail transfer agent (MTA) written inPerl , by Robert Felber. 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 usesDNSBL ,RHSBL , MX and A DNS queries of theenvelope sender andHELO 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 amavisd), thus saving network bandwidth. Also it does not add delays likeGreylisting and keeps out clients which fake HELO or sender information with a better accuracy and fewer false positives thanSender 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).Message flow
Please refer to this [http://www.policyd-weight.org/scheme.html drawing] .
Licensing
policyd-weight is
Free software , licensed and released under theGNU General Public License by [http://www.kuttendreier.de Ford München - Kuttendreier.de] .See also
* [http://www.postfix.org/SMTPD_POLICY_README.html Postfix SMTP Access Policy Delegation]
* [http://www.postfix.org/addon.html#policy Postfix Add-on Software]External links
* [http://www.policyd-weight.org/ policyd-weight official homepage]
* [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 archive]
Wikimedia Foundation. 2010.