xref: /freebsd/contrib/sendmail/cf/feature/smrsh.m4 (revision ee7b0571c2c18bdec848ed2044223cc88db29bd8)
1c2aa98e2SPeter Wemmdivert(-1)
2c2aa98e2SPeter Wemm#
35dd76dd0SGregory Neil Shapiro# Copyright (c) 1998, 1999 Proofpoint, Inc. and its suppliers.
406f25ae9SGregory Neil Shapiro#	All rights reserved.
5c2aa98e2SPeter Wemm# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
6c2aa98e2SPeter Wemm# Copyright (c) 1988, 1993
7c2aa98e2SPeter Wemm#	The Regents of the University of California.  All rights reserved.
8c2aa98e2SPeter Wemm#
9c2aa98e2SPeter Wemm# By using this file, you agree to the terms and conditions set
10c2aa98e2SPeter Wemm# forth in the LICENSE file which can be found at the top level of
11c2aa98e2SPeter Wemm# the sendmail distribution.
12c2aa98e2SPeter Wemm#
13c2aa98e2SPeter Wemm#
14c2aa98e2SPeter Wemm
15c2aa98e2SPeter Wemmdivert(0)
16*4313cc83SGregory Neil ShapiroVERSIONID(`$Id: smrsh.m4,v 8.15 2013-11-22 20:51:11 ca Exp $')
17c2aa98e2SPeter Wemmdivert(-1)
18c2aa98e2SPeter Wemm
19c2aa98e2SPeter Wemmifdef(`_MAILER_local_',
2006f25ae9SGregory Neil Shapiro	`errprint(`*** FEATURE(smrsh) must occur before MAILER(local)
2106f25ae9SGregory Neil Shapiro')')dnl
22c2aa98e2SPeter Wemmdefine(`LOCAL_SHELL_PATH',
2306f25ae9SGregory Neil Shapiro	ifelse(defn(`_ARG_'), `',
24c2aa98e2SPeter Wemm		ifdef(`confEBINDIR', confEBINDIR, `/usr/libexec')`/smrsh',
25c2aa98e2SPeter Wemm		_ARG_))
2606f25ae9SGregory Neil Shapiro_DEFIFNOT(`LOCAL_SHELL_ARGS', `smrsh -c $u')
27