sendmail, 4th Edition

${sendmailMTACluster}

The LDAP cluster to use V8.12 and above

Beginning with V8.12 sendmail , it is possible to fill a class macro with values from an ldap database map. The general form looks like this:

 F{  classname  }@ldap:  switches  

The switches are ldap database map-type switches that might look something like this:

 -k (&(objectClass=  someclass  )) -v  classvalue  

An alternative form of ldap database map-type declaration uses default switches:

 F{  classname  }@LDAP 

Here, the literal @LDAP tells sendmail to use default switches that look like the following (where the line has been split to fit the page):

 -k (&(objectClass=sendmailMTAClass)(sendmailMTAClassName=  ClassName)  ((sendmailMTACluster=  ${sendmailMTACluster}  )(sendmailMTAHost=$j)))    -v sendmailMTAClassValue 

Note that the default sendmailMTACluster is based on the value in the ${sendmailMTACluster} macro.

If you plan to use the @LDAP default, you will need to define the ${sendmailMTACluster} macro in your mc configuration file, as for example:

 define(`confLDAP_CLUSTER', `  clustername  ') 

${sendmailMTACluster} is intended for use only in the default @LDAP setting.



Sendmail
sendmail, 4th Edition
ISBN: 0596510292
EAN: 2147483647
Year: 2002
Pages: 1174

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net