164316SericPUSHDIVERT(-1)
264316Seric#
364316Seric# Copyright (c) 1983 Eric P. Allman
464316Seric# Copyright (c) 1988, 1993
564316Seric#	The Regents of the University of California.  All rights reserved.
664316Seric#
764316Seric# %sccs.include.redist.sh%
864316Seric#
9*67469Sericifdef(`SMTP_MAILER_FLAGS',, `define(`SMTP_MAILER_FLAGS', `')')
1064323Sericdefine(_NULL_CLIENT_ONLY_, `1')
1164323Sericifelse(_ARG_, `', `errprint(`Feature "nullclient" requires argument')',
1264323Seric	`define(`MAIL_HUB', _ARG_)')
1364316SericPOPDIVERT
1464316Seric
1564316Seric#
1664316Seric#  This is used only for relaying mail from a client to a hub when
1764316Seric#  that client does absolutely nothing else -- i.e., it is a "null
1864316Seric#  mailer".  In this sense, it acts like the "R" option in Sun
1964316Seric#  sendmail.
2064316Seric#
2164316Seric
22*67469SericVERSIONID(`@(#)nullclient.m4	8.4 (Berkeley) 07/02/94')
2364316Seric
2464323SericPUSHDIVERT(7)
2564323Seric############################################
2664323Seric###   Null Client Mailer specification   ###
2764323Seric############################################
2864323Seric
2964316Sericifdef(`confRELAY_MAILER',,
3064316Seric	`define(`confRELAY_MAILER', `nullclient')')dnl
3164316Seric
3267119SericMnullclient,	P=[IPC], F=CONCAT(mDFMuXa, SMTP_MAILER_FLAGS),ifdef(`SMTP_MAILER_MAX', ` M=SMTP_MAILER_MAX,')
3367119Seric		A=IPC $h
3464323SericPOPDIVERT
35