summaryrefslogtreecommitdiff
path: root/mail/postfix/MESSAGE.NetBSD
blob: 1d18250a1a312f4750d8021634ed48c60ca04642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
===========================================================================
$NetBSD: MESSAGE.NetBSD,v 1.3 2007/07/11 12:25:53 martti Exp $

If you are running NetBSD 1.5 (or newer), the existing /etc/rc.d/postfix
can be forced to start ${PREFIX}/sbin/postfix instead of /usr/sbin/postfix,
by adding the following lines to /etc/rc.conf.d/postfix:

	postfix_command='${PREFIX}/sbin/postfix'
	required_files='${PKG_SYSCONFDIR}/main.cf'
	start_cmd='${PREFIX}/sbin/postfix start'
	stop_cmd='${PREFIX}/sbin/postfix stop'
	reload_cmd='${PREFIX}/sbin/postfix reload'

Please note that /etc/rc.conf.d/postfix does not exist by default so
you need to create that file if you need to override the default settings.
===========================================================================