3 # Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers.
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.
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.
13 #ident "%Z%%M% %I% %E% SMI"
16 ifdef(`PROCMAIL_MAILER_PATH',,
17 `ifdef(`PROCMAIL_PATH',
18 `define(`PROCMAIL_MAILER_PATH', PROCMAIL_PATH)',
19 `define(`PROCMAIL_MAILER_PATH', /usr/local/bin/procmail)')')
20 _DEFIFNOT(`PROCMAIL_MAILER_FLAGS', `SPhnu9')
21 ifdef(`PROCMAIL_MAILER_ARGS',,
22 `define(`PROCMAIL_MAILER_ARGS', `procmail -Y -m $h $f $u')')
23 define(`_PROCMAIL_QGRP', `ifelse(defn(`PROCMAIL_MAILER_QGRP'),`',`', ` Q=PROCMAIL_MAILER_QGRP,')')dnl
27 ######################*****##############
28 ### PROCMAIL Mailer specification ###
29 ##################*****##################
31 VERSIONID(`$Id: procmail.m4,v 8.22 2001/11/12 23:11:34 ca Exp $')
33 Mprocmail, P=PROCMAIL_MAILER_PATH, F=_MODMF_(CONCAT(`DFM', PROCMAIL_MAILER_FLAGS), `PROCMAIL'), S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP,
34 ifdef(`PROCMAIL_MAILER_MAX', `M=PROCMAIL_MAILER_MAX, ')T=DNS/RFC822/X-Unix,_PROCMAIL_QGRP
35 A=PROCMAIL_MAILER_ARGS