diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-09-06 07:45:06 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-09-06 07:45:06 +0000 |
commit | 777802d5109a052d0951ef975515ffbbe00649fe (patch) | |
tree | 42dd4db8373f98b672836f21d29b17ceb9a37c2f /mail/postfix-policyd-weight | |
parent | 32e59a3ef921aac63fa7c0e518fba0f49d67dae8 (diff) | |
download | ports-777802d5109a052d0951ef975515ffbbe00649fe.tar.gz ports-777802d5109a052d0951ef975515ffbbe00649fe.zip |
Notes
Diffstat (limited to 'mail/postfix-policyd-weight')
-rw-r--r-- | mail/postfix-policyd-weight/Makefile | 5 | ||||
-rw-r--r-- | mail/postfix-policyd-weight/distinfo | 4 | ||||
-rw-r--r-- | mail/postfix-policyd-weight/files/pkg-message.in | 9 |
3 files changed, 11 insertions, 7 deletions
diff --git a/mail/postfix-policyd-weight/Makefile b/mail/postfix-policyd-weight/Makefile index 25d44fbf7f28..b31b6e507e13 100644 --- a/mail/postfix-policyd-weight/Makefile +++ b/mail/postfix-policyd-weight/Makefile @@ -6,7 +6,7 @@ # PORTNAME= policyd-weight -PORTVERSION= 0.1.8 +PORTVERSION= 0.1.10 CATEGORIES= mail MASTER_SITES= http://robtone.mine.nu/postfix/releases/ PKGNAMEPREFIX= postfix- @@ -18,10 +18,11 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \ postfix:${PORTSDIR}/mail/postfix-current SUB_FILES= pkg-message -PLIST_FILES= libexec/postfix/${PORTNAME} +PLIST_FILES= libexec/postfix/${PORTNAME} etc/${PORTNAME}.conf.sample do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/postfix + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${PREFIX}/etc post-install: @${CAT} ${PKGMESSAGE} diff --git a/mail/postfix-policyd-weight/distinfo b/mail/postfix-policyd-weight/distinfo index eba694e73452..c30425779fca 100644 --- a/mail/postfix-policyd-weight/distinfo +++ b/mail/postfix-policyd-weight/distinfo @@ -1,2 +1,2 @@ -MD5 (policyd-weight-0.1.8.tar.gz) = 1ca576c9dc8f7eb2ff9e30af6b24a4d0 -SIZE (policyd-weight-0.1.8.tar.gz) = 8939 +MD5 (policyd-weight-0.1.10.tar.gz) = 5b22ce03770d8f6e62e37dbdd9954260 +SIZE (policyd-weight-0.1.10.tar.gz) = 19083 diff --git a/mail/postfix-policyd-weight/files/pkg-message.in b/mail/postfix-policyd-weight/files/pkg-message.in index dfc5a9bf6fc6..0f713affa60a 100644 --- a/mail/postfix-policyd-weight/files/pkg-message.in +++ b/mail/postfix-policyd-weight/files/pkg-message.in @@ -1,13 +1,11 @@ ********** -* * 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 @@ -20,4 +18,9 @@ smtpd_recipient_restrictions = * NOTE: specify check_policy_service AFTER reject_unauth_destination * or else your system can become an open relay. * +* CONFIGURATION: +* +* edit %%PREFIX%%/etc/policyd-weight.conf +* An example is provided in %%PREFIX%%/etc/policyd-weight.conf.sample +* ************* |