xref: /titanic_52/usr/src/cmd/sendmail/cf/feature/local_lmtp.m4 (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gatedivert(-1)
2*7c478bd9Sstevel@tonic-gate#
3*7c478bd9Sstevel@tonic-gate# Copyright (c) 1998-2000, 2002 Sendmail, Inc. and its suppliers.
4*7c478bd9Sstevel@tonic-gate#	All rights reserved.
5*7c478bd9Sstevel@tonic-gate#
6*7c478bd9Sstevel@tonic-gate# By using this file, you agree to the terms and conditions set
7*7c478bd9Sstevel@tonic-gate# forth in the LICENSE file which can be found at the top level of
8*7c478bd9Sstevel@tonic-gate# the sendmail distribution.
9*7c478bd9Sstevel@tonic-gate#
10*7c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
11*7c478bd9Sstevel@tonic-gate#
12*7c478bd9Sstevel@tonic-gate
13*7c478bd9Sstevel@tonic-gatedivert(0)
14*7c478bd9Sstevel@tonic-gateVERSIONID(`$Id: local_lmtp.m4,v 8.17 2002/11/17 04:41:04 ca Exp $')
15*7c478bd9Sstevel@tonic-gatedivert(-1)
16*7c478bd9Sstevel@tonic-gate
17*7c478bd9Sstevel@tonic-gateifdef(`_MAILER_local_',
18*7c478bd9Sstevel@tonic-gate	`errprint(`*** FEATURE(local_lmtp) must occur before MAILER(local)
19*7c478bd9Sstevel@tonic-gate')')dnl
20*7c478bd9Sstevel@tonic-gate
21*7c478bd9Sstevel@tonic-gatedefine(`LOCAL_MAILER_PATH',
22*7c478bd9Sstevel@tonic-gate	ifelse(defn(`_ARG_'), `',
23*7c478bd9Sstevel@tonic-gate		ifdef(`confEBINDIR', confEBINDIR, `/usr/libexec')`/mail.local',
24*7c478bd9Sstevel@tonic-gate		_ARG_))
25*7c478bd9Sstevel@tonic-gatedefine(`LOCAL_MAILER_FLAGS', `PSXmnz9')
26*7c478bd9Sstevel@tonic-gatedefine(`LOCAL_MAILER_ARGS',
27*7c478bd9Sstevel@tonic-gate	ifelse(len(X`'_ARG2_), `1', `mail.local -l', _ARG2_))
28*7c478bd9Sstevel@tonic-gatedefine(`LOCAL_MAILER_DSN_DIAGNOSTIC_CODE', `SMTP')
29*7c478bd9Sstevel@tonic-gatedefine(`_LOCAL_LMTP_', `1')
30