1 divert(-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 #
  15 ifelse(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 
  25 divert(0)
  26 VERSIONID(`$Id: nullclient.m4,v 8.24 2000/09/17 17:30:00 gshapiro Exp $')
  27 divert(-1)
  28 
  29 undefine(`ALIAS_FILE')
  30 define(`MAIL_HUB', _NULL_CLIENT_)
  31 define(`SMART_HOST', _NULL_CLIENT_)
  32 define(`confFORWARD_PATH', `')
  33 ifdef(`confFROM_HEADER',, `define(`confFROM_HEADER', `<$g>')')
  34 define(`_DEF_LOCAL_MAILER_FLAGS', `lsDFM5q')
  35 MASQUERADE_AS(_NULL_CLIENT_)
  36 FEATURE(`allmasquerade')
  37 FEATURE(`masquerade_envelope')
  38 MAILER(`local')
  39 MAILER(`smtp')