View | Details | Raw Unified | Return to bug 85785
Collapse All | Expand All

(-)postfix-policyd-weight-0.1.10/Makefile (-4 / +8 lines)
Lines 2-15 Link Here
2
# Date created:				25 Apr 2005
2
# Date created:				25 Apr 2005
3
# Whom:					Robert Felber <robtone@ek-muc.de>
3
# Whom:					Robert Felber <robtone@ek-muc.de>
4
#
4
#
5
# $FreeBSD: ports/mail/postfix-policyd-weight/Makefile,v 1.5 2005/06/22 09:06:02 pav Exp $
5
# $FreeBSD: ports/mail/postfix-policyd-weight/Makefile,v 1.2 2005/04/30 08:36:27 jylefort Exp $
6
#
6
#
7
7
8
PORTNAME=	policyd-weight
8
PORTNAME=	policyd-weight
9
PORTVERSION=	0.1.8
9
PORTVERSION=	0.1.10
10
PORTREVISION=   1
11
10
CATEGORIES=	mail
12
CATEGORIES=	mail
11
MASTER_SITES=	http://robtone.mine.nu/postfix/releases/
13
MASTER_SITES=	http://robtone.mine.nu/postfix/releases/
12
PKGNAMEPREFIX=	postfix-
14
PKGNAMEPREFIX=  postfix-
13
15
14
MAINTAINER=	robtone@ek-muc.de
16
MAINTAINER=	robtone@ek-muc.de
15
COMMENT=	Weighted policy daemon for postfix
17
COMMENT=	Weighted policy daemon for postfix
Lines 18-27 Link Here
18
		postfix:${PORTSDIR}/mail/postfix-current
20
		postfix:${PORTSDIR}/mail/postfix-current
19
21
20
SUB_FILES=	pkg-message
22
SUB_FILES=	pkg-message
21
PLIST_FILES=	libexec/postfix/${PORTNAME}
23
PLIST_FILES=	libexec/postfix/${PORTNAME} \
24
            	etc/${PORTNAME}.conf.sample
22
25
23
do-install:
26
do-install:
24
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/postfix
27
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/postfix
28
	${INSTALL} -m 644 ${WRKSRC}/${PORTNAME}.conf.sample ${PREFIX}/etc/
25
29
26
post-install:
30
post-install:
27
	@${CAT} ${PKGMESSAGE}
31
	@${CAT} ${PKGMESSAGE}
(-)postfix-policyd-weight-0.1.10/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (policyd-weight-0.1.8.tar.gz) = 1ca576c9dc8f7eb2ff9e30af6b24a4d0
1
MD5 (policyd-weight-0.1.10.tar.gz) = 5b22ce03770d8f6e62e37dbdd9954260
2
SIZE (policyd-weight-0.1.8.tar.gz) = 8939
2
SIZE (policyd-weight-0.1.10.tar.gz) = 19083
(-)postfix-policyd-weight-0.1.10/files/pkg-message.in (-3 / +6 lines)
Lines 1-13 Link Here
1
**********
1
**********
2
*
3
* To run this from %%PREFIX%%/etc/postfix/master.cf:
2
* To run this from %%PREFIX%%/etc/postfix/master.cf:
4
3
5
policy  unix  -       n       n       -       -       spawn
4
policy  unix  -       n       n       -       -       spawn
6
  user=nobody argv=%%PREFIX%%/libexec/postfix/policyd-weight
5
  user=nobody argv=%%PREFIX%%/libexec/postfix/policyd-weight
7
6
8
*
9
* To use this from Postfix SMTPD, use in %%PREFIX%%/etc/postfix/main.cf
7
* To use this from Postfix SMTPD, use in %%PREFIX%%/etc/postfix/main.cf
10
*
8
11
smtpd_recipient_restrictions = 
9
smtpd_recipient_restrictions = 
12
	...
10
	...
13
	permit_mynetworks
11
	permit_mynetworks
Lines 19-23 Link Here
19
17
20
* NOTE: specify check_policy_service AFTER reject_unauth_destination
18
* NOTE: specify check_policy_service AFTER reject_unauth_destination
21
* or else your system can become an open relay.
19
* or else your system can become an open relay.
20
*
21
* CONFIGURATION:
22
*
23
* edit %%PREFIX%%/etc/policyd-weight.conf
24
* An example is provided in %%PREFIX%%/etc/policyd-weight.conf.sample
22
*
25
*
23
*************
26
*************

Return to bug 85785