138032Speterdivert(-1) 238032Speter# 3261363Sgshapiro# Copyright (c) 1998, 1999, 2002 Proofpoint, Inc. and its suppliers. 464562Sgshapiro# All rights reserved. 538032Speter# Copyright (c) 1994 Eric P. Allman. All rights reserved. 638032Speter# Copyright (c) 1988, 1993 738032Speter# The Regents of the University of California. All rights reserved. 838032Speter# 938032Speter# By using this file, you agree to the terms and conditions set 1038032Speter# forth in the LICENSE file which can be found at the top level of 1138032Speter# the sendmail distribution. 1238032Speter# 1338032Speter# 1438032Speter 1538032Speterdivert(0) 16266692SgshapiroVERSIONID(`$Id: local_procmail.m4,v 8.23 2013-11-22 20:51:11 ca Exp $') 1738032Speterdivert(-1) 1838032Speter 1964562Sgshapiroifdef(`_MAILER_local_', 2064562Sgshapiro `errprint(`*** FEATURE(local_procmail) must occur before MAILER(local) 2164562Sgshapiro')')dnl 2264562Sgshapiro 2338032Speterdefine(`LOCAL_MAILER_PATH', 2464562Sgshapiro ifelse(defn(`_ARG_'), `', 2538032Speter ifdef(`PROCMAIL_MAILER_PATH', 2638032Speter PROCMAIL_MAILER_PATH, 2738032Speter `/usr/local/bin/procmail'), 2838032Speter _ARG_)) 2964562Sgshapirodefine(`LOCAL_MAILER_ARGS', 3064562Sgshapiro ifelse(len(X`'_ARG2_), `1', `procmail -Y -a $h -d $u', _ARG2_)) 3164562Sgshapirodefine(`LOCAL_MAILER_FLAGS', 3264562Sgshapiro ifelse(len(X`'_ARG3_), `1', `SPfhn9', _ARG3_)) 33110560Sgshapirodnl local_procmail conflicts with local_lmtp but the latter might be 34110560Sgshapirodnl defined in an OS/ file (solaris8). Let's just undefine it. 35110560Sgshapiroundefine(`_LOCAL_LMTP_') 36110560Sgshapiroundefine(`LOCAL_MAILER_DSN_DIAGNOSTIC_CODE') 37