From c36e767e97ebd2e6822350e67a0678ebd4db646c Mon Sep 17 00:00:00 2001 From: khorben Date: Sun, 29 Aug 2021 21:04:55 +0000 Subject: postfix: let the RC script work unprivileged This takes advantage of the introduction of the SYSCONFBASE variable. Tested on NetBSD/amd64. Bumps PKGREVISION. --- mail/postfix/files/postfix.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mail/postfix/files') diff --git a/mail/postfix/files/postfix.sh b/mail/postfix/files/postfix.sh index 6c35eb99a21..72fed804a74 100644 --- a/mail/postfix/files/postfix.sh +++ b/mail/postfix/files/postfix.sh @@ -1,14 +1,17 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: postfix.sh,v 1.5 2005/12/30 06:29:41 martti Exp $ +# $NetBSD: postfix.sh,v 1.6 2021/08/29 21:04:55 khorben Exp $ # - # PROVIDE: mail # REQUIRE: LOGIN # we make mail start late, so that things like .forward's are not # processed until the system is fully operational +# +# You will need to set some variables in @SYSCONFBASE@/rc.conf to start postfix: +# +# postfix=YES -. /etc/rc.subr +$_rc_subr_loaded . @SYSCONFBASE@/rc.subr name="postfix" rcvar=$name -- cgit v1.2.3