summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/cf/feature/virtusertable.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.sbin/sendmail/cf/feature/virtusertable.m4')
-rw-r--r--gnu/usr.sbin/sendmail/cf/feature/virtusertable.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.sbin/sendmail/cf/feature/virtusertable.m4 b/gnu/usr.sbin/sendmail/cf/feature/virtusertable.m4
index 1210ee98285..608cb33f789 100644
--- a/gnu/usr.sbin/sendmail/cf/feature/virtusertable.m4
+++ b/gnu/usr.sbin/sendmail/cf/feature/virtusertable.m4
@@ -1,6 +1,6 @@
divert(-1)
#
-# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
+# Copyright (c) 1998, 1999, 2001 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
@@ -13,13 +13,13 @@ divert(-1)
#
divert(0)
-VERSIONID(`$Sendmail: virtusertable.m4,v 8.16 1999/07/22 17:55:36 gshapiro Exp $')
+VERSIONID(`$Sendmail: virtusertable.m4,v 8.21 2001/03/16 00:51:26 gshapiro Exp $')
divert(-1)
define(`_VIRTUSER_TABLE_', `')
LOCAL_CONFIG
# Virtual user table (maps incoming users)
-Kvirtuser ifelse(defn(`_ARG_'), `',
- DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`virtusertable',
+Kvirtuser ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`virtusertable',
+ defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=virtuser)(sendmailMTAKey=%0))',
`_ARG_')