rejecting faked sender and faked HELO args since 03/23/2005
| policyd-weight Version: 0.1.14 beta-17 devel version 0.1.15 devel-3 older releases Features FAQ Setup HOWTO Changes TODO Documentation Man-pages User Comments Unofficial Patches Request Tracker FreeBSD Users: |
News
Security:
policyd-weight versions up to 0.1.14 beta-16 didn't
check for symlinks on/in its operational
directories/sockets correctly. An unprivileged user was able to create
a symlink to any directory if the working directory was not
already setup by the super user.
You are encouraged to update to a version newer than 0.1.14 beta-16. Policyd-weight is not actively maintained as of 09th Feb 2008. See also this announcement. Developers which want to continue are encouraged to use the ML and continue on Sourceforge. Security threats and other problems are not ignored. What's policyd-weight?policyd-weight is a Perl policy daemon for the Postfix MTA (2.1 and later) intended to eliminate forged envelope senders and HELOs (i.e. in bogus mails). It allows you to score DNSBLs (RBL/RHSBL), HELO, MAIL FROM and client IP addresses before any queuing is done. It allows you to REJECT messages which have a score higher than allowed, providing improved blocking of spam and virus mails. policyd-weight caches the most frequent client/sender combinations (SPAM as well as HAM) to reduce the number of DNS queries. After the first three SMTP commands ( Postfix' built-in checks can be too tough for poorly configured clients: one hit, and the mail gets rejected. policyd-weight is designed to be fair (DynDNS MX users get through if their MTA is setup properly, even if their ISP net is DUL-listed), because its decision whether to reject or accept a mail is based on multiple factors. Of course you should still have SpamAssassin and Clamav running (especially if you are responsible for a company's security and data). But these programs will have a lot less to do and thus decrease the need for bandwidth and CPU cycles. Also you might not need greylisting (which would make sense for users that receive a lot of new spam, though), SPF, extraordinary whitelists or SQL and other DBs anymore. PerformancePerfomance is difficult to measure. The cache daemon is able to handle ~15'200 mails/minute, non-cached throughput is ~2'500 mails/minute (3'630'000 mails/day) on a Dell Dual PIII 1,2GHz, 2Mbit uplink (see my benchmark-test). Also policyd-weight now runs as a daemon. On a loaded server it won't be spawned per smtpd instance anymore. It scales now load-adaptively by itself. You also should have a fast caching, recursive DNS server. Don't use DNS-forwarders unless you have a rather slow uplink. A rewrite in C/C++ would not lead to a noticeable speedup, neither in CPU nor walltime. The major bottleneck is as always bandwidth, which we try to handle carefully. Neither does the load-adaptive forking nature have an impact on load/CPU, it is NOT required to fork a process for each and every request. Regardless of these facts improvements to the fork code could be done with a) threading - which is not supported everywhere and by b) selecting over UDP (DNS) sockets (called multiplexing by some) which adds unnecessary delays (in miliseconds) to other requests but minimizes the requirement for parallel instances (i.e. would save memory). For parsing 2'500 mails/minute (by a concurrency of 50 clients at once) policyd-weight created only 22 instances. Bugs
If you submit bugs, please be so kind to attach logs and an output according to the Debug-call to the Bug-Tracker. Please also search the mailinglist-archives or <your-favourite-search-engine> for your possibly already answered question.
Misc
You are not protected from explicit spam/virus attacks against you, neither with policyd-weight, nor with amavis/SpamAssassin/ClamAV since there are many ways to get around the amavis barrier, too. StatsYou can see some stats of our MTA (incl. CPU timings) here. Winfried Neessen provided some interesting graphs, too. | |
|
|
||
|
Other Postfix resources |
http://www.postfix.org/docs.html |
|
|
|
||
|
Alternatives |
postfwd - A Policy Daemon with a very flexible Scoring/Ruleset-Language. |
|
|
|
||
|
RBLs/RHSBLs used |
RBLs
RHSBLs
Please read their usage and listing policies. |
|
|
|
||
|
Mailinglist |
English: policyd-weight-list@ek-muc.de (archived on mail-archive.com and gmane.org).
I don't expect much traffic here, because a) the project is small and
b) I and others have other work and a life, too. Developers and Devel-Testers are also welcome on #policyd-weight (IRCNet) |
|
|
|
© 2005-2008 PC Service Glonn - Selling-IT - Robert Felber ( Ford München Händler - Autohaus Kuttendreier ) |
policyd-weight.org domain provided by neessen.net |
|