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