virtusertable.m4 revision 98121
141568Sarchiedivert(-1) 24374Slars# 34374Slars# Copyright (c) 1998, 1999, 2001 Sendmail, Inc. and its suppliers. 441568Sarchie# All rights reserved. 54374Slars# Copyright (c) 1983 Eric P. Allman. All rights reserved. 611990Speter# Copyright (c) 1988, 1993 74374Slars# The Regents of the University of California. All rights reserved. 828600Speter# 928600Speter# By using this file, you agree to the terms and conditions set 1028600Speter# forth in the LICENSE file which can be found at the top level of 114374Slars# the sendmail distribution. 12# 13# 14 15divert(0) 16VERSIONID(`$Id: virtusertable.m4,v 8.21 2001/03/16 00:51:26 gshapiro Exp $') 17divert(-1) 18 19define(`_VIRTUSER_TABLE_', `') 20 21LOCAL_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 -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=virtuser)(sendmailMTAKey=%0))', 25 `_ARG_') 26