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