ports/80448: Update port: mail/postfix-policyd-weight Ports Makefile update, Version update, REV_IP_EQ_HELO_DOMAIN regexp bug fixed
Robert Felber
robtone at ek-muc.de
Fri Apr 29 07:20:02 UTC 2005
>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 at 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 <robtone at ek-muc.de>
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 at 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 <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.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 at 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:
More information about the freebsd-ports-bugs
mailing list