1divert(-1) 2# 3# Copyright (c) 1998, 1999, 2002 Proofpoint, Inc. and its suppliers. 4# All rights reserved. 5# Copyright (c) 1994 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 15divert(0) 16VERSIONID(`$Id: local_procmail.m4,v 8.23 2013-11-22 20:51:11 ca Exp $') 17divert(-1) 18 19ifdef(`_MAILER_local_', 20 `errprint(`*** FEATURE(local_procmail) must occur before MAILER(local) 21')')dnl 22 23define(`LOCAL_MAILER_PATH', 24 ifelse(defn(`_ARG_'), `', 25 ifdef(`PROCMAIL_MAILER_PATH', 26 PROCMAIL_MAILER_PATH, 27 `/usr/local/bin/procmail'), 28 _ARG_)) 29define(`LOCAL_MAILER_ARGS', 30 ifelse(len(X`'_ARG2_), `1', `procmail -Y -a $h -d $u', _ARG2_)) 31define(`LOCAL_MAILER_FLAGS', 32 ifelse(len(X`'_ARG3_), `1', `SPfhn9', _ARG3_)) 33dnl local_procmail conflicts with local_lmtp but the latter might be 34dnl defined in an OS/ file (solaris8). Let's just undefine it. 35undefine(`_LOCAL_LMTP_') 36undefine(`LOCAL_MAILER_DSN_DIAGNOSTIC_CODE') 37