1*0Sstevel@tonic-gatedivert(-1) 2*0Sstevel@tonic-gate# 3*0Sstevel@tonic-gate# Copyright (c) 1998, 1999, 2002 Sendmail, Inc. and its suppliers. 4*0Sstevel@tonic-gate# All rights reserved. 5*0Sstevel@tonic-gate# Copyright (c) 1994 Eric P. Allman. All rights reserved. 6*0Sstevel@tonic-gate# Copyright (c) 1988, 1993 7*0Sstevel@tonic-gate# The Regents of the University of California. All rights reserved. 8*0Sstevel@tonic-gate# 9*0Sstevel@tonic-gate# By using this file, you agree to the terms and conditions set 10*0Sstevel@tonic-gate# forth in the LICENSE file which can be found at the top level of 11*0Sstevel@tonic-gate# the sendmail distribution. 12*0Sstevel@tonic-gate# 13*0Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 14*0Sstevel@tonic-gate# 15*0Sstevel@tonic-gate 16*0Sstevel@tonic-gatedivert(0) 17*0Sstevel@tonic-gateVERSIONID(`$Id: local_procmail.m4,v 8.21.42.1 2002/11/17 04:25:07 ca Exp $') 18*0Sstevel@tonic-gatedivert(-1) 19*0Sstevel@tonic-gate 20*0Sstevel@tonic-gateifdef(`_MAILER_local_', 21*0Sstevel@tonic-gate `errprint(`*** FEATURE(local_procmail) must occur before MAILER(local) 22*0Sstevel@tonic-gate')')dnl 23*0Sstevel@tonic-gate 24*0Sstevel@tonic-gatedefine(`LOCAL_MAILER_PATH', 25*0Sstevel@tonic-gate ifelse(defn(`_ARG_'), `', 26*0Sstevel@tonic-gate ifdef(`PROCMAIL_MAILER_PATH', 27*0Sstevel@tonic-gate PROCMAIL_MAILER_PATH, 28*0Sstevel@tonic-gate `/usr/local/bin/procmail'), 29*0Sstevel@tonic-gate _ARG_)) 30*0Sstevel@tonic-gatedefine(`LOCAL_MAILER_ARGS', 31*0Sstevel@tonic-gate ifelse(len(X`'_ARG2_), `1', `procmail -Y -a $h -d $u', _ARG2_)) 32*0Sstevel@tonic-gatedefine(`LOCAL_MAILER_FLAGS', 33*0Sstevel@tonic-gate ifelse(len(X`'_ARG3_), `1', `SPfhn9', _ARG3_)) 34*0Sstevel@tonic-gatednl local_procmail conflicts with local_lmtp but the latter might be 35*0Sstevel@tonic-gatednl defined in an OS/ file (solaris8). Let's just undefine it. 36*0Sstevel@tonic-gateundefine(`_LOCAL_LMTP_') 37*0Sstevel@tonic-gateundefine(`LOCAL_MAILER_DSN_DIAGNOSTIC_CODE') 38