1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Add fortten files in the previous commit

PR:             ports/125657
Reported by:    miwi
Pointyhat to:   pgollucci
Approved by:    araujo (mentor, implicit)
This commit is contained in:
Philip M. Gollucci 2008-12-25 16:08:41 +00:00
parent 3404d784c5
commit dd3d2b2479
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224750
3 changed files with 48 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= milter-greylist-devel
DISTVERSION= 2.0b1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/
DISTNAME= milter-greylist-${DISTVERSION}

View File

@ -0,0 +1,33 @@
#!/bin/sh
# $FreeBSD$
# PROVIDE: miltergreylist
# REQUIRE: LOGIN
# BEFORE: sendmail
# KEYWORD: milter-greylist
# Define these miltergreylist_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/miltergreylist
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
. %%RC_SUBR%%
name="miltergreylist"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/milter-greylist"
load_rc_config $name
miltergreylist_enable=${miltergreylist_enable-"NO"}
miltergreylist_runas=${miltergreylist_runas-"smmsp"}
miltergreylist_pidfile=${miltergreylist_pidfile-"/var/run/milter-greylist.pid"}
miltergreylist_sockfile=${miltergreylist_sockfile-"/var/milter-greylist/milter-greylist.sock"}
miltergreylist_cfgfile=${miltergreylist_cfgfile-"%%PREFIX%%/etc/mail/greylist.conf"}
miltergreylist_flags=${miltergreylist_flags-"-P $miltergreylist_pidfile \
-f $miltergreylist_cfgfile -p $miltergreylist_sockfile -u $miltergreylist_runas"}
run_rc_command "$1"

View File

@ -0,0 +1,14 @@
------------------------------------------------------------------------
IMPORTANT NOTE
A sample configuration file has been installed in ${PREFIX}/etc/mail
directory. Copy and edit it to suit your needs before launching
milter-greylist.
To run milter-greylist from startup, add miltergreylist_enable="YES"
in your /etc/rc.conf or your /etc/rc.conf.local
See ${DOCSDIR}/README for operation details.
------------------------------------------------------------------------