1PUSHDIVERT(-1) 2# 3# Copyright (c) 1998 Sendmail, Inc. All rights reserved. 4# Copyright (c) 1983 Eric P. Allman. All rights reserved. 5# Copyright (c) 1988, 1993 6# The Regents of the University of California. All rights reserved. 7# 8# By using this file, you agree to the terms and conditions set 9# forth in the LICENSE file which can be found at the top level of 10# the sendmail distribution. 11# 12# 13ifdef(`SMTP_MAILER_FLAGS',, `define(`SMTP_MAILER_FLAGS', `')') 14define(_NULL_CLIENT_ONLY_, `1') 15ifelse(_ARG_, `', `errprint(`Feature "nullclient" requires argument')', 16 `define(`MAIL_HUB', _ARG_)') 17POPDIVERT 18 19# 20# This is used only for relaying mail from a client to a hub when 21# that client does absolutely nothing else -- i.e., it is a "null 22# mailer". In this sense, it acts like the "R" option in Sun 23# sendmail. 24# 25 26VERSIONID(`@(#)nullclient.m4 8.12 (Berkeley) 5/19/1998') 27 28PUSHDIVERT(6) 29# hub host (to which all mail is sent) 30DH`'ifdef(`MAIL_HUB', MAIL_HUB, 31 `errprint(`MAIL_HUB not defined for nullclient feature')') 32ifdef(`MASQUERADE_NAME',, `define(`MASQUERADE_NAME', MAIL_HUB)')dnl 33 34# route-addr separators 35C: : , 36POPDIVERT 37PUSHDIVERT(7) 38############################################ 39### Null Client Mailer specification ### 40############################################ 41 42ifdef(`confRELAY_MAILER',, 43 `define(`confRELAY_MAILER', `nullclient')')dnl 44ifdef(`confFROM_HEADER',, 45 `define(`confFROM_HEADER', <$g>)')dnl 46ifdef(`SMTP_MAILER_ARGS',, `define(`SMTP_MAILER_ARGS', `IPC $h')')dnl 47 48Mnullclient, P=[IPC], F=CONCAT(mDFMuXa, SMTP_MAILER_FLAGS),ifdef(`SMTP_MAILER_MAX', ` M=SMTP_MAILER_MAX,') 49 A=SMTP_MAILER_ARGS 50POPDIVERT 51