Update to 0.1.10
PR: ports/85785 Submitted by: maintainer
This commit is contained in:
parent
32e59a3ef9
commit
777802d510
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142060
3 changed files with 11 additions and 7 deletions
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*
|
||||
*************
|
||||
|
|
Loading…
Reference in a new issue