138032Speterdivert(-1)
238032Speter#
3261370Sgshapiro# Copyright (c) 1998, 1999, 2001-2002 Proofpoint, Inc. and its suppliers.
464562Sgshapiro#	All rights reserved.
538032Speter# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
638032Speter# Copyright (c) 1988, 1993
738032Speter#	The Regents of the University of California.  All rights reserved.
838032Speter#
938032Speter# By using this file, you agree to the terms and conditions set
1038032Speter# forth in the LICENSE file which can be found at the top level of
1138032Speter# the sendmail distribution.
1238032Speter#
1338032Speter#
1438032Speter
1538032Speterdivert(0)
16266711SgshapiroVERSIONID(`$Id: genericstable.m4,v 8.24 2013-11-22 20:51:11 ca Exp $')
1738032Speterdivert(-1)
1838032Speter
1964562Sgshapirodefine(`_GENERICS_TABLE_', `')
2064562Sgshapiro
2164562SgshapiroLOCAL_CONFIG
2264562Sgshapiro# Generics table (mapping outgoing addresses)
2390792SgshapiroKgenerics ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`genericstable',
24132943Sgshapiro		 defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=generics)(sendmailMTAKey=%0))',
2564562Sgshapiro		 `_ARG_')
26