164562Sgshapirodivert(-1)
238032Speter#
3261363Sgshapiro# Copyright (c) 1998-2000 Proofpoint, 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#
1338032Speter#
1464562Sgshapiroifelse(defn(`_ARG_'), `', `errprint(`Feature "nullclient" requires argument')',
1564562Sgshapiro	`define(`_NULL_CLIENT_', _ARG_)')
1638032Speter
1738032Speter#
1838032Speter#  This is used only for relaying mail from a client to a hub when
1938032Speter#  that client does absolutely nothing else -- i.e., it is a "null
2038032Speter#  mailer".  In this sense, it acts like the "R" option in Sun
2138032Speter#  sendmail.
2238032Speter#
2338032Speter
2464562Sgshapirodivert(0)
25266692SgshapiroVERSIONID(`$Id: nullclient.m4,v 8.25 2013-11-22 20:51:11 ca Exp $')
2664562Sgshapirodivert(-1)
2738032Speter
2864562Sgshapiroundefine(`ALIAS_FILE')
2964562Sgshapirodefine(`MAIL_HUB', _NULL_CLIENT_)
3064562Sgshapirodefine(`SMART_HOST', _NULL_CLIENT_)
3164562Sgshapirodefine(`confFORWARD_PATH', `')
3266494Sgshapiroifdef(`confFROM_HEADER',, `define(`confFROM_HEADER', `<$g>')')
3364562Sgshapirodefine(`_DEF_LOCAL_MAILER_FLAGS', `lsDFM5q')
3464562SgshapiroMASQUERADE_AS(_NULL_CLIENT_)
3564562SgshapiroFEATURE(`allmasquerade')
3664562SgshapiroFEATURE(`masquerade_envelope')
3764562SgshapiroMAILER(`local')
3864562SgshapiroMAILER(`smtp')
39