fix parsing of null address so MAILER-DAEMON mapping works; fix
[unix-history] / usr / src / usr.sbin / sendmail / cf / feature / nullclient.m4
CommitLineData
a39f28e7
EA
1PUSHDIVERT(-1)
2#
3# Copyright (c) 1983 Eric P. Allman
4# Copyright (c) 1988, 1993
5# The Regents of the University of California. All rights reserved.
6#
7# %sccs.include.redist.sh%
8#
9ifdef(`SMTP_MAILER_FLAGS',,
10 `define(`SMTP_MAILER_FLAGS',
11 `ifdef(`_OLD_SENDMAIL_', `L', `')')')
0aeaf23a
EA
12define(_NULL_CLIENT_ONLY_, `1')
13ifelse(_ARG_, `', `errprint(`Feature "nullclient" requires argument')',
14 `define(`MAIL_HUB', _ARG_)')
a39f28e7 15POPDIVERT
a39f28e7
EA
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
0aeaf23a
EA
24VERSIONID(`@(#)nullclient.m4 8.2 (Berkeley) %G%')
25
26PUSHDIVERT(7)
27############################################
28### Null Client Mailer specification ###
29############################################
a39f28e7
EA
30
31ifdef(`confRELAY_MAILER',,
32 `define(`confRELAY_MAILER', `nullclient')')dnl
33
34Mnullclient, P=[IPC], F=CONCAT(mDFMuXa, SMTP_MAILER_FLAGS), A=IPC $h
0aeaf23a 35POPDIVERT