From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 27 08:20:05 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB55416A401 for ; Tue, 27 Feb 2007 08:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id BC47013C46B for ; Tue, 27 Feb 2007 08:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1R8K5cT091001 for ; Tue, 27 Feb 2007 08:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1R8K5Mn091000; Tue, 27 Feb 2007 08:20:05 GMT (envelope-from gnats) Resent-Date: Tue, 27 Feb 2007 08:20:05 GMT Resent-Message-Id: <200702270820.l1R8K5Mn091000@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Robert Felber Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1356016A400 for ; Tue, 27 Feb 2007 08:14:04 +0000 (UTC) (envelope-from robtone@ek-muc.de) Received: from robtone.ek-muc.de (robtone.ek-muc.de [62.225.182.35]) by mx1.freebsd.org (Postfix) with ESMTP id 6138713C49D for ; Tue, 27 Feb 2007 08:14:03 +0000 (UTC) (envelope-from robtone@ek-muc.de) Received: from localhost (localhost [127.0.0.1]) by robtone.ek-muc.de (Postfix) with ESMTP id 840EDC39D1 for ; Tue, 27 Feb 2007 08:55:01 +0100 (CET) Received: by robtone.ek-muc.de (Postfix, from userid 1001) id 20C0DC393A; Tue, 27 Feb 2007 08:54:51 +0100 (CET) Message-Id: <20070227075451.20C0DC393A@robtone.ek-muc.de> Date: Tue, 27 Feb 2007 08:54:51 +0100 (CET) From: Robert Felber To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/109591: Update port: mail/postfix-policyd-weight X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Felber List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 08:20:05 -0000 >Number: 109591 >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:20:05 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: Changelog: - (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.2.diff begins here --- diff -ruN /usr/ports/mail/postfix-policyd-weight/Makefile ./postfix-policyd-weight-0.1.14.2/Makefile --- /usr/ports/mail/postfix-policyd-weight/Makefile Mon Nov 6 11:47:33 2006 +++ ./postfix-policyd-weight-0.1.14.2/Makefile Tue Feb 27 08:44:27 2007 @@ -6,7 +6,8 @@ # PORTNAME= policyd-weight -PORTVERSION= 0.1.14 +PORTVERSION= 0.1.14.2 + 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.2/distinfo --- /usr/ports/mail/postfix-policyd-weight/distinfo Mon Nov 6 11:47:33 2006 +++ ./postfix-policyd-weight-0.1.14.2/distinfo Tue Feb 27 08:43:57 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.2.tar.gz) = eafcf38f8de21114c40587ba2d2a5e54 +SHA256 (policyd-weight-0.1.14.2.tar.gz) = 91981f68faeca9af9c5a150fea01b05ed63588517954191c95f3e75f6b4fbeab +SIZE (policyd-weight-0.1.14.2.tar.gz) = 49076 diff -ruN /usr/ports/mail/postfix-policyd-weight/files/policyd-weight.in ./postfix-policyd-weight-0.1.14.2/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.2/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.2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: