xref: /netbsd-src/etc/rc.d/postfix (revision 1ca5c1b28139779176bd5c13ad7c5f25c0bcd5f8)
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
15name="postfix"
16rcvar=$name
17required_files="/etc/${name}/main.cf"
18start_cmd="postfix start"
19stop_cmd="postfix stop"
20reload_cmd="postfix reload"
21extra_commands="reload"
22
23load_rc_config $name
24run_rc_command "$1"
25