This article applies to:
- Trustwave MailMarshal (SEG)
- Trustwave ECM/MailMarshal Exchange 7.X
- Trustwave SPE Connector Agent
Question:
- How can I get a full list of every email address in a LDAP directory?
- Scraping the LDAP directory
- Need to list all email addresses in the company for DHA
- Want to use the "scrape" method to search for all addresses
Procedure:
The following tips can be useful if you want to get a list of all email addresses in a LDAP directory when you are using a Connector or the Connector Agent.
- You can set up the LDAP connection to "scrape" all addresses in any group you retrieve from the directory.
- In the LDAP Connection properties window > LDAP server tab, click Advanced.
- For MailMarshal (SEG) 10, simply edit the connector to see the User Attributes tab.
- For Connector Agent, select a Connector > Server Info tab, and then click Advanced.
- On the User Attributes tab of the Advanced LDAP properties window, in the User Class Names field enter top
- You can create a user group that includes all items in a container.
- In the New User Group wizard, choose to import groups from a LDAP connection.
- Click Browse and select any group.
- On the Import LDAP User Groups page, replace the group name. Type the name of a container, preceded by *.
- For instance, to retrieve all email addresses from the example.com domain, enter *,DC=Example,DC=Com
When you set up the connector and group as above, every email address in every attribute of each item in the group is retrieved.