Import sendmail 8.13.7
[dragonfly.git] / contrib / sendmail-8.13.7 / cf / feature / mailertable.m4
blobe3e1d0344b8b5489dbb75635869d7c9eadc0477f
1 divert(-1)
3 # Copyright (c) 1998, 1999, 2001-2002 Sendmail, Inc. and its suppliers.
4 #       All rights reserved.
5 # Copyright (c) 1983 Eric P. Allman.  All rights reserved.
6 # Copyright (c) 1988, 1993
7 #       The Regents of the University of California.  All rights reserved.
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.
15 divert(0)
16 VERSIONID(`$Id: mailertable.m4,v 8.25 2002/06/27 23:23:57 gshapiro Exp $')
17 divert(-1)
19 define(`_MAILER_TABLE_', `')
21 LOCAL_CONFIG
22 # Mailer table (overriding domains)
23 Kmailertable ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`mailertable',
24                     defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=mailer)(sendmailMTAKey=%0))',
25                     `_ARG_')