Merge from vendor branch SENDMAIL:
[dragonfly.git] / contrib / sendmail-8.13.7 / cf / feature / local_lmtp.m4
1 divert(-1)
2 #
3 # Copyright (c) 1998-2000, 2002 Sendmail, Inc. and its suppliers.
4 #       All rights reserved.
5 #
6 # By using this file, you agree to the terms and conditions set
7 # forth in the LICENSE file which can be found at the top level of
8 # the sendmail distribution.
9 #
10 #
11
12 divert(0)
13 VERSIONID(`$Id: local_lmtp.m4,v 8.17 2002/11/17 04:41:04 ca Exp $')
14 divert(-1)
15
16 ifdef(`_MAILER_local_',
17         `errprint(`*** FEATURE(local_lmtp) must occur before MAILER(local)
18 ')')dnl
19
20 define(`LOCAL_MAILER_PATH',
21         ifelse(defn(`_ARG_'), `',
22                 ifdef(`confEBINDIR', confEBINDIR, `/usr/libexec')`/mail.local',
23                 _ARG_))
24 define(`LOCAL_MAILER_FLAGS', `PSXmnz9')
25 define(`LOCAL_MAILER_ARGS',
26         ifelse(len(X`'_ARG2_), `1', `mail.local -l', _ARG2_))
27 define(`LOCAL_MAILER_DSN_DIAGNOSTIC_CODE', `SMTP')
28 define(`_LOCAL_LMTP_', `1')