xref: /onnv-gate/usr/src/cmd/sendmail/cf/feature/nullclient.m4 (revision 0:68f95e015346)
1*0Sstevel@tonic-gatedivert(-1)
2*0Sstevel@tonic-gate#
3*0Sstevel@tonic-gate# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
4*0Sstevel@tonic-gate#	All rights reserved.
5*0Sstevel@tonic-gate# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
6*0Sstevel@tonic-gate# Copyright (c) 1988, 1993
7*0Sstevel@tonic-gate#	The Regents of the University of California.  All rights reserved.
8*0Sstevel@tonic-gate#
9*0Sstevel@tonic-gate# By using this file, you agree to the terms and conditions set
10*0Sstevel@tonic-gate# forth in the LICENSE file which can be found at the top level of
11*0Sstevel@tonic-gate# the sendmail distribution.
12*0Sstevel@tonic-gate#
13*0Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
14*0Sstevel@tonic-gate#
15*0Sstevel@tonic-gateifelse(defn(`_ARG_'), `', `errprint(`Feature "nullclient" requires argument')',
16*0Sstevel@tonic-gate	`define(`_NULL_CLIENT_', _ARG_)')
17*0Sstevel@tonic-gate
18*0Sstevel@tonic-gate#
19*0Sstevel@tonic-gate#  This is used only for relaying mail from a client to a hub when
20*0Sstevel@tonic-gate#  that client does absolutely nothing else -- i.e., it is a "null
21*0Sstevel@tonic-gate#  mailer".  In this sense, it acts like the "R" option in Sun
22*0Sstevel@tonic-gate#  sendmail.
23*0Sstevel@tonic-gate#
24*0Sstevel@tonic-gate
25*0Sstevel@tonic-gatedivert(0)
26*0Sstevel@tonic-gateVERSIONID(`$Id: nullclient.m4,v 8.24 2000/09/17 17:30:00 gshapiro Exp $')
27*0Sstevel@tonic-gatedivert(-1)
28*0Sstevel@tonic-gate
29*0Sstevel@tonic-gateundefine(`ALIAS_FILE')
30*0Sstevel@tonic-gatedefine(`MAIL_HUB', _NULL_CLIENT_)
31*0Sstevel@tonic-gatedefine(`SMART_HOST', _NULL_CLIENT_)
32*0Sstevel@tonic-gatedefine(`confFORWARD_PATH', `')
33*0Sstevel@tonic-gateifdef(`confFROM_HEADER',, `define(`confFROM_HEADER', `<$g>')')
34*0Sstevel@tonic-gatedefine(`_DEF_LOCAL_MAILER_FLAGS', `lsDFM5q')
35*0Sstevel@tonic-gateMASQUERADE_AS(_NULL_CLIENT_)
36*0Sstevel@tonic-gateFEATURE(`allmasquerade')
37*0Sstevel@tonic-gateFEATURE(`masquerade_envelope')
38*0Sstevel@tonic-gateMAILER(`local')
39*0Sstevel@tonic-gateMAILER(`smtp')
40