summaryrefslogtreecommitdiff
path: root/mail/dk-milter/files
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-07-20 19:42:50 +0000
committertv <tv@pkgsrc.org>2005-07-20 19:42:50 +0000
commit21d1c11bbf7036117c223b90f81405b968bde50f (patch)
treeb96973191e2c6c1134a69ece88d9f329d41999d4 /mail/dk-milter/files
parent73027ad5bde07403e29b190122ee8924ff7f6057 (diff)
downloadpkgsrc-21d1c11bbf7036117c223b90f81405b968bde50f.tar.gz
Add dk-milter 0.3.0, based on adrianp's dk-milter package from
the pkgsrc-wip project. (Take ownership with adrianp's permission.) ===== The dk-milter package is an open source implementation of the DomainKeys sender authentication system proposed by Yahoo!, Inc. It consists of a library that implements the DomainKeys service, and a milter-based filter application that can plug in to the sendmail MTA to provide that service to sufficiently recent sendmail MTAs. An optional asynchronous resolver library is also provided to work around limitations of the basic BIND resolver which comes installed on most systems.
Diffstat (limited to 'mail/dk-milter/files')
-rw-r--r--mail/dk-milter/files/dk-milter.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/dk-milter/files/dk-milter.sh b/mail/dk-milter/files/dk-milter.sh
new file mode 100644
index 00000000000..df8704a2b03
--- /dev/null
+++ b/mail/dk-milter/files/dk-milter.sh
@@ -0,0 +1,24 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: dk-milter.sh,v 1.1.1.1 2005/07/20 19:42:50 tv Exp $
+#
+# PROVIDE: dkmilter
+# REQUIRE: DAEMON
+
+if [ -f /etc/rc.subr ]; then
+ . /etc/rc.subr
+fi
+
+name="dkmilter"
+rcvar=$name
+command="@PREFIX@/sbin/dk-milter"
+pidfile="/var/run/dk-milter.pid"
+command_args="-hl -P ${pidfile} -p ${dkmilter_socket-local:/tmp/.dkmilter.sock}"
+
+if [ -f /etc/rc.subr ]; then
+ load_rc_config $name
+ run_rc_command "$1"
+else
+ echo -n " ${name}"
+ ${command} ${dkmilter_flags} ${command_args}
+fi