xref: /freebsd/contrib/sendmail/cf/feature/nullclient.m4 (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1divert(-1)
2#
3# Copyright (c) 1998-2000 Proofpoint, 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#
14ifelse(defn(`_ARG_'), `', `errprint(`Feature "nullclient" requires argument')',
15	`define(`_NULL_CLIENT_', _ARG_)')
16
17#
18#  This is used only for relaying mail from a client to a hub when
19#  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.25 2013-11-22 20:51:11 ca 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