Date: Tue, 27 Feb 2007 09:42:32 +0100 (CET) From: Robert Felber <robtone@ek-muc.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/109592: Update port: mail/postfix-policyd-weight Message-ID: <20070227084232.37AB5C39D1@robtone.ek-muc.de> Resent-Message-ID: <200702270850.l1R8oAG4093999@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109592 >Category: ports >Synopsis: Update port: mail/postfix-policyd-weight >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Feb 27 08:50:09 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Robert Felber >Release: FreeBSD 6.1-RELEASE-p7 i386 >Organization: Autohaus Erich Kuttendreier (Ford Main Dealer Munich) >Environment: System: 6.1-RELEASE-p7 >Description: Please close http://www.freebsd.org/cgi/query-pr.cgi?pr=109591 and instead take this. 0.1.14 beta-3 - (change) Replaced dynablock.njabl.org with pbl.spamhaus.org 0.1.14 beta-2 - (fix) FreeBSD: rc cannot handle programs with "-" (dash) in its name correctly. Init script for FBSD does now provide its own stop|start functions. - (change) removed dnsbl_hits increasements where the check in question was not a dnsbl check, same goes for total_dnsbl_score - (change) Termination of daemon changed. The daemon tries to terminate childrens himself. - (fix) rbl_lookup used sometimes 0 for the random DNS packet identifier. It also checked the presence and correctness of this field wrong. (non critical) - (new) $enforce_dyndns_score added With this one can control how much he wants to avoid dynamic clients which do not use DynDNS - (change) The cache now uses only one query to ask for HAM|SPAM. Thanks to H. Krohns. - (change) the $dnsbl_hits score gets only increases if the RBL is a blacklist. This is required to use whitelists in the $dnsbl_score list. Thanks to 'Steve'. - (change) The cache can now return hard-whitelists. Enforce N days/hours RBL checks for HAM clients. After N days do each P hours or each R requests a RBL check for HAM cached clients. This should save a good amount of RBL DNS traffic. - (change) The delay in seconds for each policy request is now logged via "decided action" - (change) The time required for a cache cleanup is now logged, too. - (scores) @helo_seems_dialup = (1.5,0) 'dsn.rfc-ignorant.org', 3.5, 0, 'DSN_RFCI', ordb.org removed - (fix) alarms didn't work on every platform, leading to timeouts - (fix) BAD_MX might score even though the sender has an A record which matches the client IP - (cleanup) use modules at the beginning, usage() printed as here-doc Suggested by Francis Galiegue - (cleanup) Use A queries instead of TXT queries for RBL lookups - (new) Cache only the IP if the client was too much DNSBL listed or the client seems to be a dialup or the helo/from verification against IP and subnets failed totally Should help against Dictionary Attacks - (fix) On some plattforms setting correct user and groupmemberships is a hard task, we try now two ways to accomplish this - (new) One can define to return a restriction class by setting the appropriate messages to "rc:your_restriction_class" Policyd-weight ignores trailing garbage after rc:text messages Example: $REJECTMSG = "rc:greylist"; - (new) Non-responsive RBLs are skipped for a certain amount of queries. >How-To-Repeat: >Fix: --- postfix-policyd-weight-0.1.14.3.diff begins here --- diff -ruN /usr/ports/mail/postfix-policyd-weight/Makefile ./postfix-policyd-weight-0.1.14.3/Makefile --- /usr/ports/mail/postfix-policyd-weight/Makefile Mon Nov 6 11:47:33 2006 +++ ./postfix-policyd-weight-0.1.14.3/Makefile Tue Feb 27 09:33:14 2007 @@ -6,7 +6,8 @@ # PORTNAME= policyd-weight -PORTVERSION= 0.1.14 +PORTVERSION= 0.1.14.3 + CATEGORIES= mail MASTER_SITES= http://www.policyd-weight.org/releases/ PKGNAMEPREFIX= postfix- diff -ruN /usr/ports/mail/postfix-policyd-weight/distinfo ./postfix-policyd-weight-0.1.14.3/distinfo --- /usr/ports/mail/postfix-policyd-weight/distinfo Mon Nov 6 11:47:33 2006 +++ ./postfix-policyd-weight-0.1.14.3/distinfo Tue Feb 27 09:32:45 2007 @@ -1,3 +1,3 @@ -MD5 (policyd-weight-0.1.14.tar.gz) = fb4829a57c8b805fe981ee949a145042 -SHA256 (policyd-weight-0.1.14.tar.gz) = f613986516538575570177af7b3525b6db55301e728ce1b31ad35933148c3a6b -SIZE (policyd-weight-0.1.14.tar.gz) = 45179 +MD5 (policyd-weight-0.1.14.3.tar.gz) = afa9286a5adc393b63641994bbb78a16 +SHA256 (policyd-weight-0.1.14.3.tar.gz) = 642d5ca134fe6deeb6e7d7e0147dedcf615c8e4d3b4d7d848f1a0ff023a67b50 +SIZE (policyd-weight-0.1.14.3.tar.gz) = 49105 diff -ruN /usr/ports/mail/postfix-policyd-weight/files/policyd-weight.in ./postfix-policyd-weight-0.1.14.3/files/policyd-weight.in --- /usr/ports/mail/postfix-policyd-weight/files/policyd-weight.in Mon Nov 6 08:16:48 2006 +++ ./postfix-policyd-weight-0.1.14.3/files/policyd-weight.in Mon Feb 26 16:09:14 2007 @@ -16,6 +16,7 @@ name="policyd-weight" rcvar=policyd_weight_enable +start_cmd=policyd_weight_start stop_cmd=policyd_weight_stop # defaults @@ -28,13 +29,16 @@ *) echo "To make use of $name set $rcvar=\"YES\" in /etc/rc.conf" ;; esac -policyd_weight_progname="/usr/local/libexec/postfix/policyd-weight" -command=/usr/local/libexec/postfix/policyd-weight +command="/usr/local/libexec/postfix/policyd-weight" pidfile=/var/run/policyd-weight.pid +policyd_weight_start() { + /usr/local/libexec/postfix/policyd-weight start +} + policyd_weight_stop() { echo "Stopping $name" - $policyd_weight_progname stop + /usr/local/libexec/postfix/policyd-weight stop } run_rc_command "$1" --- postfix-policyd-weight-0.1.14.3.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070227084232.37AB5C39D1>