138032Speterdivert(-1) 238032Speter# 3261194Sgshapiro# 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) 16266527SgshapiroVERSIONID(`$Id: domaintable.m4,v 8.25 2013-11-22 20:51:11 ca Exp $') 1738032Speterdivert(-1) 1838032Speter 1964562Sgshapirodefine(`_DOMAIN_TABLE_', `') 2042575Speter 2164562SgshapiroLOCAL_CONFIG 2264562Sgshapiro# Domain table (adding domains) 2390792SgshapiroKdomaintable ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`domaintable', 24132943Sgshapiro defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=domain)(sendmailMTAKey=%0))', 2564562Sgshapiro `_ARG_') 26