From root@ek-muc.de  Mon Apr 25 15:29:23 2005
Return-Path: <root@ek-muc.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BE9CC16A4CF
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>;
 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 <robtone@ek-muc.de>
Reply-To: Robert Felber <robtone@ek-muc.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: mail/postfix-policyd-weight
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80329
>Category:       ports
>Synopsis:       New port: mail/postfix-policyd-weight
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jylefort
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 25 15:30:13 GMT 2005
>Closed-Date:    Mon Apr 25 16:56:00 GMT 2005
>Last-Modified:  Mon Apr 25 17:40:22 GMT 2005
>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 <robtone@ek-muc.de>
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 <bsd.port.mk>
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 <robtone@ek-muc.de>
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:
Responsible-Changed-From-To: freebsd-ports-bugs->jylefort 
Responsible-Changed-By: jylefort 
Responsible-Changed-When: Mon Apr 25 16:35:30 GMT 2005 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80329 
State-Changed-From-To: open->closed 
State-Changed-By: jylefort 
State-Changed-When: Mon Apr 25 16:55:50 GMT 2005 
State-Changed-Why:  
Committed with a few modifications, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80329 

From: Marcus Grando <marcus@corp.grupos.com.br>
To: bug-followup@FreeBSD.org, robtone@ek-muc.de
Cc:  
Subject: Re: ports/80329: New port: mail/postfix-policyd-weight
Date: Mon, 25 Apr 2005 14:38:43 -0300

  >RUN_DEPENDS+= postfix:${PORTSDIR}/mail/postfix-current
 
 It's need? Executable need postfix to run? I think not.
 
 Regards
 
 -- 
 Marcus Grando
 Grupos Internet S/A
 marcus(at)corp.grupos.com.br
>Unformatted:
