5ab33dd2c2
Policyd is an anti-spam plugin for Postfix (written in C) that does greylisting, sender-(envelope, SASL or host/ip)-based throttling (on messages and/or volume per defined time unit), recipient rate limiting, spamtrap monitoring/blacklisting, HELO auto blacklisting and HELO randomization preventation.
21 lines
406 B
Bash
21 lines
406 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: policyd.sh,v 1.1.1.1 2007/08/07 12:34:56 ghen Exp $
|
|
|
|
# PROVIDE: policyd
|
|
# BEFORE: mail
|
|
# AFTER: mysqld
|
|
# REQUIRE: DAEMON
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="policyd"
|
|
rcvar=$name
|
|
command="@BINDIR@/${name}"
|
|
conf_file="@PKG_SYSCONFDIR@/$name.conf"
|
|
required_files="${conf_file}"
|
|
pidfile="@VARBASE@/run/${name}.pid"
|
|
command_args="-c ${conf_file}"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|