Server Specifics

FreeBSD version 4.10 stable
dbmail-mysql-2.0.0_2
postfix-2.1.5_1,1
procmail-3.22_5 with TLS
p5-Mail-SpamAssassin-3.0.2_1
clamav-0.82_1
clamsmtp-1.2

When running the command dbmail-imapd.sh for example it seems to fire up quite nicely. When i run the script /usr/local/etc/rc.d/dbmail-imapd.sh i get this.

#/usr/local/etc/rc.d/dbmail-imapd.sh stop
set_rcvar: not found
load_rc_config: not found
run_rc_command: not found


The contains of the script file are below also i have added the required lines to my /etc/rc.conf file like this. Even tried some sys V scripts that i found somewhere be still a no go.

#dbmail
dbmail_imapd_enable="YES"
dbmail_lmtpd_enable="YES"
dbmail_pop3d_enable="YES"


!/bin/sh
#
# $FreeBSD: ports/mail/dbmail/files/dbmail-imapd.sh,v 1.1 2004/11/10 09:21:45 seanc Exp $
#

# 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
#

.

name=dbmail_imapd
rcvar=`set_rcvar`

command=/usr/local/sbin/dbmail-imapd
pidfile=/var/run/dbmail-imapd.pid
required_files=/usr/local/etc/dbmail.conf

# read settings, set default values
load_rc_config "$name"
: ${dbmail_imapd_enable="NO"}
: ${dbmail_imapd_flags=""}

run_rc_command "$1"




Reply via email to