From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 29 07:20:02 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C499D16A4CE for ; Fri, 29 Apr 2005 07:20:02 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70A7343D39 for ; Fri, 29 Apr 2005 07:20:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3T7K2bL072144 for ; Fri, 29 Apr 2005 07:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3T7K2Y1072143; Fri, 29 Apr 2005 07:20:02 GMT (envelope-from gnats) Resent-Date: Fri, 29 Apr 2005 07:20:02 GMT Resent-Message-Id: <200504290720.j3T7K2Y1072143@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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A42316A4CE for ; Fri, 29 Apr 2005 07:11:59 +0000 (GMT) Received: from robtone.ek-muc.de (robtone.ek-muc.de [62.225.182.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2A8443D5D for ; Fri, 29 Apr 2005 07:11:55 +0000 (GMT) (envelope-from root@ek-muc.de) Received: from localhost (localhost [127.0.0.1]) by robtone.ek-muc.de (Postfix) with ESMTP id 154C2C3891 for ; Fri, 29 Apr 2005 09:11:52 +0200 (CEST) Received: from robtone.ek-muc.de ([127.0.0.1]) by localhost (robtone.ek-muc.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10951-07 for ; Fri, 29 Apr 2005 09:11:45 +0200 (CEST) Received: by robtone.ek-muc.de (Postfix, from userid 0) id CED3DC38FB; Fri, 29 Apr 2005 09:11:45 +0200 (CEST) Message-Id: <20050429071145.CED3DC38FB@robtone.ek-muc.de> Date: Fri, 29 Apr 2005 09:11:45 +0200 (CEST) From: Robert Felber To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/80448: Update port: mail/postfix-policyd-weight Ports Makefile update, Version update, REV_IP_EQ_HELO_DOMAIN regexp bug fixed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 29 Apr 2005 07:20:02 -0000 >Number: 80448 >Category: ports >Synopsis: Update port: mail/postfix-policyd-weight Ports Makefile update, Version update, REV_IP_EQ_HELO_DOMAIN regexp bug fixed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 29 07:20:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Robert Felber >Release: FreeBSD 5.3-STABLE i386 >Organization: Autohaus Erich Kuttendreier (Ford Maind Dealer Munich) >Environment: System: FreeBSD fpsvr1z150.dartsd66.local 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Feb 10 09:09:38 CET 2005 robtone@fpsvr1z150.dartsd66.local:/usr/src/sys/i386/compile/FBSD5_3_DELL i386 >Description: regexp for REV_IP_EQ_HELO_DOMAIN was too fuzzy. foo.bar matched also xfooo.bar Ports Makefile had postfix as run-depency. >How-To-Repeat: >Fix: --- policyd-weight-0.1.3.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/mail/postfix-policyd-weight # /usr/ports/mail/postfix-policyd-weight/Makefile # /usr/ports/mail/postfix-policyd-weight/distinfo # /usr/ports/mail/postfix-policyd-weight/pkg-descr # /usr/ports/mail/postfix-policyd-weight/files # /usr/ports/mail/postfix-policyd-weight/files/pkg-message.in # echo c - /usr/ports/mail/postfix-policyd-weight mkdir -p /usr/ports/mail/postfix-policyd-weight > /dev/null 2>&1 echo x - /usr/ports/mail/postfix-policyd-weight/Makefile sed 's/^X//' >/usr/ports/mail/postfix-policyd-weight/Makefile << 'END-of-/usr/ports/mail/postfix-policyd-weight/Makefile' X# New ports collection makefile for: postfix-policyd-weight X# Date created: 29 Apr 2005 X# Whom: Robert Felber X# X# $FreeBSD: ports/mail/postfix-policyd-weight/Makefile,v 1.1 2005/04/25 16:54:05 jylefort Exp $ X# X XPORTNAME= policyd-weight XPORTVERSION= 0.1.3 X XCATEGORIES= mail XMASTER_SITES= http://robtone.mine.nu/postfix/ XPKGNAMEPREFIX= postfix- X XMAINTAINER= robtone@ek-muc.de XCOMMENT= Weighted policy daemon for postfix X XRUN_DEPENDS= ${SITE_PERL}/mach/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS X XSUB_FILES= pkg-message XPLIST_FILES= libexec/postfix/${PORTNAME} X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/postfix X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-/usr/ports/mail/postfix-policyd-weight/Makefile echo x - /usr/ports/mail/postfix-policyd-weight/distinfo sed 's/^X//' >/usr/ports/mail/postfix-policyd-weight/distinfo << 'END-of-/usr/ports/mail/postfix-policyd-weight/distinfo' XMD5 (policyd-weight-0.1.3.tar.gz) = 1fec540ffd67f20f1e84c7b616aa2c11 XSIZE (policyd-weight-0.1.3.tar.gz) = 8141 END-of-/usr/ports/mail/postfix-policyd-weight/distinfo echo x - /usr/ports/mail/postfix-policyd-weight/pkg-descr sed 's/^X//' >/usr/ports/mail/postfix-policyd-weight/pkg-descr << 'END-of-/usr/ports/mail/postfix-policyd-weight/pkg-descr' XPolicyd-weight is (as the name says) a weighted policyd for Postfix. XIt uses HELO, MAIL FROM and the MTA IP address for scoring their Xcorrectness. It also uses definable DNSBLs in a scored fashion. X XWWW: http://robtone.mine.nu/postfix/ X X- Robert Felber Xrobtone@ek-muc.de END-of-/usr/ports/mail/postfix-policyd-weight/pkg-descr echo c - /usr/ports/mail/postfix-policyd-weight/files mkdir -p /usr/ports/mail/postfix-policyd-weight/files > /dev/null 2>&1 echo x - /usr/ports/mail/postfix-policyd-weight/files/pkg-message.in sed 's/^X//' >/usr/ports/mail/postfix-policyd-weight/files/pkg-message.in << 'END-of-/usr/ports/mail/postfix-policyd-weight/files/pkg-message.in' X********** X* X* To run this from %%PREFIX%%/etc/postfix/master.cf: X Xpolicy unix - n n - - spawn X user=nobody argv=%%PREFIX%%/libexec/postfix/policyd-weight X X* X* To use this from Postfix SMTPD, use in %%PREFIX%%/etc/postfix/main.cf X* Xsmtpd_recipient_restrictions = X ... X permit_mynetworks X ... X reject_unauth_destination X reject_unauth_pipelining X check_policy_service unix:private/policy X ... X X* NOTE: specify check_policy_service AFTER reject_unauth_destination X* or else your system can become an open relay. X* X************* END-of-/usr/ports/mail/postfix-policyd-weight/files/pkg-message.in exit --- policyd-weight-0.1.3.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: