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