From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 25 15:30:14 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 E291F16A4CF for ; Mon, 25 Apr 2005 15:30:14 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2886F43D2F for ; Mon, 25 Apr 2005 15:30:14 +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 j3PFUEsp096627 for ; Mon, 25 Apr 2005 15:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PFUD63096626; Mon, 25 Apr 2005 15:30:13 GMT (envelope-from gnats) Resent-Date: Mon, 25 Apr 2005 15:30:13 GMT Resent-Message-Id: <200504251530.j3PFUD63096626@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 BE9CC16A4CF for ; Mon, 25 Apr 2005 15:29:23 +0000 (GMT) Received: from robtone.ek-muc.de (robtone.ek-muc.de [62.225.182.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id B344243D1F for ; Mon, 25 Apr 2005 15:29:20 +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 72757C3BCB for ; Mon, 25 Apr 2005 17:29:18 +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 03433-09 for ; Mon, 25 Apr 2005 17:29:14 +0200 (CEST) Received: by robtone.ek-muc.de (Postfix, from userid 0) id CCE55C3AEF; Mon, 25 Apr 2005 17:29:14 +0200 (CEST) Message-Id: <20050425152914.CCE55C3AEF@robtone.ek-muc.de> Date: Mon, 25 Apr 2005 17:29:14 +0200 (CEST) From: Robert Felber To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/80329: New port: mail/postfix-policyd-weight 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: Mon, 25 Apr 2005 15:30:15 -0000 >Number: 80329 >Category: ports >Synopsis: New port: mail/postfix-policyd-weight >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: Mon Apr 25 15:30:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Robert Felber >Release: FreeBSD 5.3-STABLE i386 >Organization: Autohaus E. Kuttendreier (Ford Main 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: >How-To-Repeat: >Fix: --- ports-pol 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/pkg-plist # /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: 25 Apr 2005 X# Whom: Robert Felber X# X# $FreeBSD$ X# X XPORTNAME= policyd-weight XPORTVERSION= 0.1.2 XPORTREVISION= 0 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 XRUN_DEPENDS+= postfix:${PORTSDIR}/mail/postfix-current X XPKGMESSAGE= ${WRKDIR}/pkg-message XSUB_FILES= pkg-message X XDOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/postfix/ 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.2.tar.gz) = 1547b7d9b937d1008f65b19e1ec57235 XSIZE (policyd-weight-0.1.2.tar.gz) = 8130 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 defineable DNSBLs in a scored fashion. X XFor more info see: X XWWW: http://robtone.mine.nu/postfix/ X X-- XRobert Felber END-of-/usr/ports/mail/postfix-policyd-weight/pkg-descr echo x - /usr/ports/mail/postfix-policyd-weight/pkg-plist sed 's/^X//' >/usr/ports/mail/postfix-policyd-weight/pkg-plist << 'END-of-/usr/ports/mail/postfix-policyd-weight/pkg-plist' Xlibexec/postfix/policyd-weight END-of-/usr/ports/mail/postfix-policyd-weight/pkg-plist 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 --- ports-pol ends here --- >Release-Note: >Audit-Trail: >Unformatted: