nullclient.m4 revision 98122
138032Speterdivert(-1)
238032Speter#
3261363Sgshapiro# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
464562Sgshapiro#	All rights reserved.
538032Speter# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
638032Speter# Copyright (c) 1988, 1993
738032Speter#	The Regents of the University of California.  All rights reserved.
838032Speter#
938032Speter# By using this file, you agree to the terms and conditions set
1038032Speter# forth in the LICENSE file which can be found at the top level of
1138032Speter# the sendmail distribution.
1238032Speter#
13266692Sgshapiro#
1438032Speterifelse(defn(`_ARG_'), `', `errprint(`Feature "nullclient" requires argument')',
1538032Speter	`define(`_NULL_CLIENT_', _ARG_)')
1638032Speter
1790792Sgshapiro#
1890792Sgshapiro#  This is used only for relaying mail from a client to a hub when
1990792Sgshapiro#  that client does absolutely nothing else -- i.e., it is a "null
20#  mailer".  In this sense, it acts like the "R" option in Sun
21#  sendmail.
22#
23
24divert(0)
25VERSIONID(`$Id: nullclient.m4,v 8.24 2000/09/17 17:30:00 gshapiro Exp $')
26divert(-1)
27
28undefine(`ALIAS_FILE')
29define(`MAIL_HUB', _NULL_CLIENT_)
30define(`SMART_HOST', _NULL_CLIENT_)
31define(`confFORWARD_PATH', `')
32ifdef(`confFROM_HEADER',, `define(`confFROM_HEADER', `<$g>')')
33define(`_DEF_LOCAL_MAILER_FLAGS', `lsDFM5q')
34MASQUERADE_AS(_NULL_CLIENT_)
35FEATURE(`allmasquerade')
36FEATURE(`masquerade_envelope')
37MAILER(`local')
38MAILER(`smtp')
39