genericstable.m4 revision 95154
11558Srgrimesdivert(-1)
274531Sru#
31558Srgrimes# Copyright (c) 1998, 1999, 2001 Sendmail, Inc. and its suppliers.
477042Sru#	All rights reserved.
577042Sru# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
677042Sru# Copyright (c) 1988, 1993
71558Srgrimes#	The Regents of the University of California.  All rights reserved.
81558Srgrimes#
977031Sru# By using this file, you agree to the terms and conditions set
1087325Sobrien# forth in the LICENSE file which can be found at the top level of
1187325Sobrien# the sendmail distribution.
121558Srgrimes#
131558Srgrimes#
141558Srgrimes
15divert(0)
16VERSIONID(`$Id: genericstable.m4,v 1.1.1.4 2002/02/17 21:56:44 gshapiro Exp $')
17divert(-1)
18
19define(`_GENERICS_TABLE_', `')
20
21LOCAL_CONFIG
22# Generics table (mapping outgoing addresses)
23Kgenerics ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`genericstable',
24		 defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=generics)(sendmailMTAKey=%0))',
25		 `_ARG_')
26