diff options
Diffstat (limited to 'contrib/sendmail/cf/feature/authinfo.m4')
-rw-r--r-- | contrib/sendmail/cf/feature/authinfo.m4 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/sendmail/cf/feature/authinfo.m4 b/contrib/sendmail/cf/feature/authinfo.m4 new file mode 100644 index 0000000..3533d30 --- /dev/null +++ b/contrib/sendmail/cf/feature/authinfo.m4 @@ -0,0 +1,22 @@ +divert(-1) +# +# Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers. +# All rights reserved. +# +# By using this file, you agree to the terms and conditions set +# forth in the LICENSE file which can be found at the top level of +# the sendmail distribution. +# +# + +divert(0) +VERSIONID(`$Id: authinfo.m4,v 1.7 2001/03/16 00:51:25 gshapiro Exp $') +divert(-1) + +define(`_AUTHINFO_TABLE_', `') + +LOCAL_CONFIG +# authinfo list database: contains info for authentication as client +Kauthinfo ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`authinfo', + defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=authinfo)(sendmailMTAKey=%0))', + `_ARG_') |