diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-04-25 16:54:05 +0000 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-04-25 16:54:05 +0000 |
commit | 97d8dd6f113f6b5d745a90aac92f11d69609b49f (patch) | |
tree | 149a332f5dfcb4a6f359e1266ae76f10d391bbc9 /mail/postfix-policyd-weight | |
parent | 8df22a5d447a79a04100abc1d18bf251c8b1448e (diff) | |
download | FreeBSD-ports-97d8dd6f113f6b5d745a90aac92f11d69609b49f.zip FreeBSD-ports-97d8dd6f113f6b5d745a90aac92f11d69609b49f.tar.gz |
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>
Diffstat (limited to 'mail/postfix-policyd-weight')
-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 |
4 files changed, 62 insertions, 0 deletions
diff --git a/mail/postfix-policyd-weight/Makefile b/mail/postfix-policyd-weight/Makefile new file mode 100644 index 0000000..8ee2ca1 --- /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 0000000..4716dc1 --- /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 0000000..dfc5a9b --- /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 0000000..ab8627b --- /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 |