xref: /freebsd/contrib/sendmail/cf/feature/local_lmtp.m4 (revision c98bb15d01876b54224f52232cee5ba1b5b0ce6f)
1divert(-1)
2#
3# Copyright (c) 1998-2000, 2002 Proofpoint, 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
12divert(0)
13VERSIONID(`$Id: local_lmtp.m4,v 8.18 2013/11/22 20:51:11 ca Exp $')
14divert(-1)
15
16ifdef(`_MAILER_local_',
17	`errprint(`*** FEATURE(local_lmtp) must occur before MAILER(local)
18')')dnl
19
20define(`LOCAL_MAILER_PATH',
21	ifelse(defn(`_ARG_'), `',
22		ifdef(`confEBINDIR', confEBINDIR, `/usr/libexec')`/mail.local',
23		_ARG_))
24define(`LOCAL_MAILER_FLAGS', `PSXmnz9')
25define(`LOCAL_MAILER_ARGS',
26	ifelse(len(X`'_ARG2_), `1', `mail.local -l', _ARG2_))
27define(`LOCAL_MAILER_DSN_DIAGNOSTIC_CODE', `SMTP')
28define(`_LOCAL_LMTP_', `1')
29