diff options
author | mm <mm@FreeBSD.org> | 2011-11-11 04:59:59 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2011-11-11 04:59:59 +0800 |
commit | 52ba6500ef86ca2a2a5af2c51667e2db55bdfef9 (patch) | |
tree | 72fee8edf650b48c962237015ad8ac85a68f0ccb /mail/postgrey | |
parent | 3e5ed3a3f1a43488045d99f2ee328528d07b4031 (diff) | |
download | freebsd-ports-gnome-52ba6500ef86ca2a2a5af2c51667e2db55bdfef9.tar.gz freebsd-ports-gnome-52ba6500ef86ca2a2a5af2c51667e2db55bdfef9.tar.zst freebsd-ports-gnome-52ba6500ef86ca2a2a5af2c51667e2db55bdfef9.zip |
Fix missing file from the last revert commit.
Feature safe: yes
Diffstat (limited to 'mail/postgrey')
-rw-r--r-- | mail/postgrey/Makefile | 2 | ||||
-rw-r--r-- | mail/postgrey/files/postgrey.in | 14 |
2 files changed, 7 insertions, 9 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile index 60a797c685e1..96da77490070 100644 --- a/mail/postgrey/Makefile +++ b/mail/postgrey/Makefile @@ -7,7 +7,7 @@ PORTNAME= postgrey PORTVERSION= 1.34 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= http://postgrey.schweikert.ch/pub/ \ http://postgrey.schweikert.ch/pub/old/ diff --git a/mail/postgrey/files/postgrey.in b/mail/postgrey/files/postgrey.in index 0c32135b8c89..c8b25560a99e 100644 --- a/mail/postgrey/files/postgrey.in +++ b/mail/postgrey/files/postgrey.in @@ -12,9 +12,7 @@ # # postgrey_enable="YES" # -# See perldoc postgrey or run `postgrey --help` to see options. You can change -# the --dbdir path by setting postgrey_dbdir. Specify additional options with -# the postgrey_options variable. +# See perldoc postgrey for flags # . /etc/rc.subr @@ -23,6 +21,7 @@ name=postgrey rcvar=`set_rcvar` command=%%PREFIX%%/sbin/postgrey +required_dirs=/var/db/postgrey extra_commands=reload stop_postcmd=stop_postcmd @@ -36,14 +35,13 @@ stop_postcmd() load_rc_config $name -postgrey_dbdir=${postgrey_dbdir:-"%%DBDIR%%"} postgrey_enable=${postgrey_enable:-"NO"} -postgrey_options=${postgrey_options:-"--inet:10023"} +postgrey_greylist_header=${postgrey_greylist_header:-"X-Greylist: delayed %t seconds by postgrey-%v at %h\; %d"} postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"} -postgrey_flags=${postgrey_flags:-"-d --pidfile=${postgrey_pidfile} \ - --dbdir=${postgrey_dbdir} ${postgrey_options}"} +postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \ + --inet=10023 -d --user=%%USER%% --group=%%GROUP%% --dbdir=/var/db/postgrey \ + --x-greylist-header=${postgrey_greylist_header}"} pidfile="${postgrey_pidfile}" -required_dirs=${postgrey_dbdir} run_rc_command "$1" |