mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
05065d99c7
#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)
33 lines
528 B
Bash
33 lines
528 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: dbmail-lmtpd
|
|
# REQUIRE: DAEMON
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable dbmail-lmtpd:
|
|
#
|
|
#dbmail_lmtpd_enable="YES"
|
|
#
|
|
# See dbmail-lmtpd(8) for flags
|
|
#
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name=dbmail_lmtpd
|
|
rcvar=`set_rcvar`
|
|
|
|
command=%%PREFIX%%/sbin/dbmail-lmtpd
|
|
pidfile=/var/run/dbmail-lmtpd.pid
|
|
required_files=%%PREFIX%%/etc/dbmail.conf
|
|
|
|
# read settings, set default values
|
|
load_rc_config "$name"
|
|
: ${dbmail_lmtpd_enable="NO"}
|
|
: ${dbmail_lmtpd_flags=""}
|
|
|
|
run_rc_command "$1"
|