aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dbmail-devel/files/dbmail-imapd.sh.in
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-19 00:04:16 +0800
committerpav <pav@FreeBSD.org>2005-07-19 00:04:16 +0800
commit04fb4b6794da4aa50daf3ac426a900b7a825267d (patch)
tree1b2cb499f6323d7c39396f7810b028a42f79e61d /mail/dbmail-devel/files/dbmail-imapd.sh.in
parent7adf173660910105f97acb77eb59275dd1ebaf90 (diff)
downloadfreebsd-ports-gnome-04fb4b6794da4aa50daf3ac426a900b7a825267d.tar.gz
freebsd-ports-gnome-04fb4b6794da4aa50daf3ac426a900b7a825267d.tar.zst
freebsd-ports-gnome-04fb4b6794da4aa50daf3ac426a900b7a825267d.zip
- Patch nine bugs:
#79 - INTERNALDATE reponses do not conform to RFC #145 - LMTP loses return-path #177 - Compile Fails on FreeBSD (fixes compilation on FreeBSD 4.X) #184 - socklen_t issue #190 - huge load if database crash #198 - DBMail processes killing each other #199 - spare child creates zombie #214 - dbmail-smtp dumps core with double free #216 - malformed header prevents delivery - Fix RC_SUBR usage PR: ports/83437, also ports/80736, ports/82437, ports/83575 Submitted by: Mark Starovoytov <mark@kikg.ifmo.ru>, parts also by: Radim Kolar <hsn@netmag.cz>, thompsa, Marcus Grando <marcus@corp.grupos.com.br> Approved by: maintainer timeout (2 months on oldest PR)
Diffstat (limited to 'mail/dbmail-devel/files/dbmail-imapd.sh.in')
-rw-r--r--mail/dbmail-devel/files/dbmail-imapd.sh.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/mail/dbmail-devel/files/dbmail-imapd.sh.in b/mail/dbmail-devel/files/dbmail-imapd.sh.in
new file mode 100644
index 000000000000..82505e96d9b0
--- /dev/null
+++ b/mail/dbmail-devel/files/dbmail-imapd.sh.in
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: dbmail-imapd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+
+#
+# Add the following lines to /etc/rc.conf to enable dbmail-imapd:
+#
+#dbmail_imapd_enable="YES"
+#
+# See dbmail-imapd(8) for flags
+#
+
+. %%RC_SUBR%%
+
+name=dbmail_imapd
+rcvar=`set_rcvar`
+
+command=%%PREFIX%%/sbin/dbmail-imapd
+pidfile=/var/run/dbmail-imapd.pid
+required_files=%%PREFIX%%/etc/dbmail.conf
+
+# read settings, set default values
+load_rc_config "$name"
+: ${dbmail_imapd_enable="NO"}
+: ${dbmail_imapd_flags=""}
+
+run_rc_command "$1"