ports/80329: New port: mail/postfix-policyd-weight

Robert Felber robtone at ek-muc.de
Mon Apr 25 15:30:15 UTC 2005


>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 at 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 at 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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list