postfix revision 1.4
1#!/bin/sh 2# 3# $NetBSD: postfix,v 1.4 2000/05/13 08:45:08 lukem Exp $ 4# 5 6# PROVIDE: mail 7# REQUIRE: LOGIN 8 9# we could do this, but make mail start late, so that things like 10# .forward's are not processed until the system is fully operational 11## REQUIRE: DAEMON 12 13. /etc/rc.subr 14 15name="postfix" 16required_files="/etc/${name}/main.cf" 17extra_commands="reload" 18 19start_precmd="checkyesno postfix" 20start_cmd="postfix start" 21 22stop_precmd=$start_precmd 23stop_cmd="postfix stop" 24 25reload_precmd=$start_precmd 26reload_cmd="postfix reload" 27 28load_rc_config $name 29run_rc_command "$1" 30