1 #!/bin/sh 2 # 3 # $NetBSD: postfix,v 1.5 2000/09/19 13:04:39 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 15 name="postfix" 16 rcvar=$name 17 required_files="/etc/${name}/main.cf" 18 start_cmd="postfix start" 19 stop_cmd="postfix stop" 20 reload_cmd="postfix reload" 21 extra_commands="reload" 22 23 load_rc_config $name 24 run_rc_command "$1" 25