nullclient.m4 revision 66494
1246149Ssjgdivert(-1) 2246149Ssjg# 3246149Ssjg# Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers. 4246149Ssjg# All rights reserved. 5246149Ssjg# Copyright (c) 1983 Eric P. Allman. All rights reserved. 6246149Ssjg# Copyright (c) 1988, 1993 7246149Ssjg# The Regents of the University of California. All rights reserved. 8246149Ssjg# 9246149Ssjg# By using this file, you agree to the terms and conditions set 10246149Ssjg# forth in the LICENSE file which can be found at the top level of 11246149Ssjg# the sendmail distribution. 12246149Ssjg# 13246149Ssjg# 14246149Ssjgifelse(defn(`_ARG_'), `', `errprint(`Feature "nullclient" requires argument')', 15246149Ssjg `define(`_NULL_CLIENT_', _ARG_)') 16246149Ssjg 17246149Ssjg# 18246149Ssjg# This is used only for relaying mail from a client to a hub when 19246149Ssjg# that client does absolutely nothing else -- i.e., it is a "null 20246149Ssjg# mailer". In this sense, it acts like the "R" option in Sun 21246149Ssjg# sendmail. 22246149Ssjg# 23246149Ssjg 24246149Ssjgdivert(0) 25246149SsjgVERSIONID(`$Id: nullclient.m4,v 8.21.16.3 2000/09/17 17:04:22 gshapiro Exp $') 26246149Ssjgdivert(-1) 27246149Ssjg 28246149Ssjgundefine(`ALIAS_FILE') 29246149Ssjgdefine(`MAIL_HUB', _NULL_CLIENT_) 30246149Ssjgdefine(`SMART_HOST', _NULL_CLIENT_) 31246149Ssjgdefine(`confFORWARD_PATH', `') 32246149Ssjgifdef(`confFROM_HEADER',, `define(`confFROM_HEADER', `<$g>')') 33246149Ssjgdefine(`_DEF_LOCAL_MAILER_FLAGS', `lsDFM5q') 34246149SsjgMASQUERADE_AS(_NULL_CLIENT_) 35246149SsjgFEATURE(`allmasquerade') 36246149SsjgFEATURE(`masquerade_envelope') 37246149SsjgMAILER(`local') 38246149SsjgMAILER(`smtp') 39246149Ssjg