diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-04-26 00:54:05 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-04-26 00:54:05 +0800 |
commit | 97d8dd6f113f6b5d745a90aac92f11d69609b49f (patch) | |
tree | 149a332f5dfcb4a6f359e1266ae76f10d391bbc9 | |
parent | 8df22a5d447a79a04100abc1d18bf251c8b1448e (diff) | |
download | freebsd-ports-graphics-97d8dd6f113f6b5d745a90aac92f11d69609b49f.tar.gz freebsd-ports-graphics-97d8dd6f113f6b5d745a90aac92f11d69609b49f.tar.zst freebsd-ports-graphics-97d8dd6f113f6b5d745a90aac92f11d69609b49f.zip |
Policyd-weight is (as the name says) a weighted policyd for Postfix.
It uses HELO, MAIL FROM and the MTA IP address for scoring their
correctness. It also uses definable DNSBLs in a scored fashion.
WWW: http://robtone.mine.nu/postfix/
PR: ports/80329
Submitted by: Robert Felber <robtone@ek-muc.de>
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/postfix-policyd-weight/Makefile | 29 | ||||
-rw-r--r-- | mail/postfix-policyd-weight/distinfo | 2 | ||||
-rw-r--r-- | mail/postfix-policyd-weight/files/pkg-message.in | 23 | ||||
-rw-r--r-- | mail/postfix-policyd-weight/pkg-descr | 8 |
5 files changed, 63 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index b12ccadd55d..4082192fd67 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -358,6 +358,7 @@ SUBDIR += postfix-current SUBDIR += postfix-gps SUBDIR += postfix-policyd-spf + SUBDIR += postfix-policyd-weight SUBDIR += postfix1 SUBDIR += postfix21 SUBDIR += postfixadmin diff --git a/mail/postfix-policyd-weight/Makefile b/mail/postfix-policyd-weight/Makefile new file mode 100644 index 00000000000..8ee2ca114e7 --- /dev/null +++ b/mail/postfix-policyd-weight/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: postfix-policyd-weight +# Date created: 25 Apr 2005 +# Whom: Robert Felber <robtone@ek-muc.de> +# +# $FreeBSD$ +# + +PORTNAME= policyd-weight +PORTVERSION= 0.1.2 +CATEGORIES= mail +MASTER_SITES= http://robtone.mine.nu/postfix/ +PKGNAMEPREFIX= postfix- + +MAINTAINER= robtone@ek-muc.de +COMMENT= Weighted policy daemon for postfix + +RUN_DEPENDS= ${SITE_PERL}/mach/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \ + postfix:${PORTSDIR}/mail/postfix-current + +SUB_FILES= pkg-message +PLIST_FILES= libexec/postfix/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/postfix + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/mail/postfix-policyd-weight/distinfo b/mail/postfix-policyd-weight/distinfo new file mode 100644 index 00000000000..4716dc1a5c3 --- /dev/null +++ b/mail/postfix-policyd-weight/distinfo @@ -0,0 +1,2 @@ +MD5 (policyd-weight-0.1.2.tar.gz) = 1547b7d9b937d1008f65b19e1ec57235 +SIZE (policyd-weight-0.1.2.tar.gz) = 8130 diff --git a/mail/postfix-policyd-weight/files/pkg-message.in b/mail/postfix-policyd-weight/files/pkg-message.in new file mode 100644 index 00000000000..dfc5a9bf6fc --- /dev/null +++ b/mail/postfix-policyd-weight/files/pkg-message.in @@ -0,0 +1,23 @@ +********** +* +* To run this from %%PREFIX%%/etc/postfix/master.cf: + +policy unix - n n - - spawn + user=nobody argv=%%PREFIX%%/libexec/postfix/policyd-weight + +* +* To use this from Postfix SMTPD, use in %%PREFIX%%/etc/postfix/main.cf +* +smtpd_recipient_restrictions = + ... + permit_mynetworks + ... + reject_unauth_destination + reject_unauth_pipelining + check_policy_service unix:private/policy + ... + +* NOTE: specify check_policy_service AFTER reject_unauth_destination +* or else your system can become an open relay. +* +************* diff --git a/mail/postfix-policyd-weight/pkg-descr b/mail/postfix-policyd-weight/pkg-descr new file mode 100644 index 00000000000..ab8627b3d7f --- /dev/null +++ b/mail/postfix-policyd-weight/pkg-descr @@ -0,0 +1,8 @@ +Policyd-weight is (as the name says) a weighted policyd for Postfix. +It uses HELO, MAIL FROM and the MTA IP address for scoring their +correctness. It also uses definable DNSBLs in a scored fashion. + +WWW: http://robtone.mine.nu/postfix/ + +- Robert Felber +robtone@ek-muc.de |