Section 8 Dynamic Queries
LISTSERV can execute on-demand Dynamic Queries against either LDAP or traditional DBMS servers, and use the results for access control and mail delivery. For instance, an LDAP query against an Active Directory server could be used to grant list owner privileges to all members of a particular Windows Security Group. A DBMS query could be used to combine employee rosters for two departments and send a single copy of an announcement to each unique employee e-mail address. Support for other types of data sources can also be provided by writing an exit (short script) to query the custom data source and return the results to LISTSERV.
Note: This section will not cover basic DBMS or LDAP configuration. Please see Section 7 LISTSERV and LDAP for information on how to configure LDAP servers in LISTSERV.