virtusertable.m4 revision 132944
1218799Snwhitehorndivert(-1) 2218799Snwhitehorn# 3218799Snwhitehorn# Copyright (c) 1998, 1999, 2001-2002 Sendmail, Inc. and its suppliers. 4218799Snwhitehorn# All rights reserved. 5262643Sbrooks# Copyright (c) 1983 Eric P. Allman. All rights reserved. 6262643Sbrooks# Copyright (c) 1988, 1993 7218799Snwhitehorn# The Regents of the University of California. All rights reserved. 8218799Snwhitehorn# 9218799Snwhitehorn# By using this file, you agree to the terms and conditions set 10218799Snwhitehorn# forth in the LICENSE file which can be found at the top level of 11262643Sbrooks# the sendmail distribution. 12262643Sbrooks# 13262643Sbrooks# 14262643Sbrooks 15262643Sbrooksdivert(0) 16262643SbrooksVERSIONID(`$Id: virtusertable.m4,v 8.23 2002/06/27 23:23:57 gshapiro Exp $') 17262643Sbrooksdivert(-1) 18262643Sbrooks 19262643Sbrooksdefine(`_VIRTUSER_TABLE_', `') 20262643Sbrooks 21218799SnwhitehornLOCAL_CONFIG 22# Virtual user table (maps incoming users) 23Kvirtuser ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`virtusertable', 24 defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=virtuser)(sendmailMTAKey=%0))', 25 `_ARG_') 26