aboutsummaryrefslogtreecommitdiffstats
path: root/mail/opendmarc/files
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2013-06-29 03:55:52 +0800
committerlippe <lippe@FreeBSD.org>2013-06-29 03:55:52 +0800
commit088e5b22ebbeb4c62ca8ec10a318c8b1b6877426 (patch)
tree62b387bba72441a234a040a195d9277c6d23897a /mail/opendmarc/files
parentf6515840e99ef8cdbf6368afbdf928f67cb1d9ff (diff)
downloadfreebsd-ports-gnome-088e5b22ebbeb4c62ca8ec10a318c8b1b6877426.tar.gz
freebsd-ports-gnome-088e5b22ebbeb4c62ca8ec10a318c8b1b6877426.tar.zst
freebsd-ports-gnome-088e5b22ebbeb4c62ca8ec10a318c8b1b6877426.zip
OpenDMARC is an open source implementation of Domain-based Message
Authentication, Reporting & Conformance, or DMARC. It builds on the successes of technologies such as DomainKeys Identified Mail (DKIM) and the Sender Policy Framework (SPF) to create an infrastructure that enforces policy on domain names that are visible to end users, and creates a feedback framework for identifying and tracking fraudulent use of domain names in email. It includes a library for handling DMARC record parsing, a database schema and tools for aggregating and processing transaction history to produce DMARC reports, and a filter that ties it all together with an MTA using the milter protocol. WWW: http://www.trusteddomain.org/opendmarc.html PR: ports/177486 Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl>
Diffstat (limited to 'mail/opendmarc/files')
-rw-r--r--mail/opendmarc/files/opendmarc.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/mail/opendmarc/files/opendmarc.in b/mail/opendmarc/files/opendmarc.in
new file mode 100644
index 000000000000..e03cfe37bd97
--- /dev/null
+++ b/mail/opendmarc/files/opendmarc.in
@@ -0,0 +1,34 @@
+#!/bin/sh
+# $FreeBSD$
+
+# PROVIDE: opendmarc
+# REQUIRE: LOGIN
+# BEFORE: mail
+# KEYWORD: opendmarc
+
+# Define these opendmarc_* variables in one of these files:
+# /etc/rc.conf
+# /etc/rc.conf.local
+# /etc/rc.conf.d/opendmarc
+#
+# DO NOT CHANGE THESE DEFAULT VALUES HERE
+#
+
+. /etc/rc.subr
+
+name="opendmarc"
+rcvar=opendmarc_enable
+
+command="%%PREFIX%%/sbin/opendmarc"
+
+load_rc_config $name
+
+opendmarc_enable=${opendmarc_enable-"NO"}
+opendmarc_runas=${opendmarc_runas-"mailnull:mailnull"}
+opendmarc_pidfile=${opendmarc_pidfile-"/var/run/opendmarc.pid"}
+opendmarc_socketspec=${opendmarc_socketspec-"inet:8893@localhost"}
+opendmarc_cfgfile=${opendmarc_cfgfile-"%%PREFIX%%/etc/mail/opendmarc.conf"}
+opendmarc_flags=${opendmarc_flags-"-l -P $opendmarc_pidfile \
+ -c $opendmarc_cfgfile -p $opendmarc_socketspec -u $opendmarc_runas"}
+
+run_rc_command "$1"