xref: /freebsd/contrib/sendmail/cf/mailer/phquery.m4 (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1PUSHDIVERT(-1)
2#
3# Copyright (c) 1998-2001 Proofpoint, 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(`PH_MAILER_PATH',, `define(`PH_MAILER_PATH', /usr/local/etc/phquery)')
18_DEFIFNOT(`PH_MAILER_FLAGS', `ehmu')
19ifdef(`PH_MAILER_ARGS',, `define(`PH_MAILER_ARGS', `phquery -- $u')')
20define(`_PH_QGRP', `ifelse(defn(`PH_MAILER_QGRP'),`',`', ` Q=PH_MAILER_QGRP,')')dnl
21
22POPDIVERT
23
24####################################
25###   PH Mailer specification   ###
26####################################
27
28VERSIONID(`$Id: phquery.m4,v 8.18 2013-11-22 20:51:14 ca Exp $')
29
30Mph,		P=PH_MAILER_PATH, F=_MODMF_(CONCAT(`nrDFM', PH_MAILER_FLAGS), `PH'), S=EnvFromL, R=EnvToL/HdrToL,
31		T=DNS/RFC822/X-Unix,_PH_QGRP
32		A=PH_MAILER_ARGS
33