xref: /freebsd/contrib/sendmail/cf/mailer/phquery.m4 (revision 5521ff5a4d1929056e7ffc982fac3341ca54df7c)
1PUSHDIVERT(-1)
2#
3# Copyright (c) 1998, 1999 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#  Contributed by Kimmo Suominen <kim@tac.nyc.ny.us>.
15#
16
17ifdef(`_MAILER_local_', `',
18	`errprint(`*** MAILER(`local') must appear before MAILER(`phquery')')')dnl
19
20ifdef(`PH_MAILER_PATH',, `define(`PH_MAILER_PATH', /usr/local/etc/phquery)')
21_DEFIFNOT(`PH_MAILER_FLAGS', `ehmu')
22ifdef(`PH_MAILER_ARGS',, `define(`PH_MAILER_ARGS', `phquery -- $u')')
23
24POPDIVERT
25
26####################################
27###   PH Mailer specification   ###
28####################################
29
30VERSIONID(`$Id: phquery.m4,v 8.15 1999/10/18 04:57:54 gshapiro Exp $')
31
32Mph,		P=PH_MAILER_PATH, F=_MODMF_(CONCAT(`nrDFM', PH_MAILER_FLAGS), `PH'), S=EnvFromL, R=EnvToL/HdrToL,
33		T=DNS/RFC822/X-Unix,
34		A=PH_MAILER_ARGS
35