Novell is now a part of Micro Focus

How to Send Messages to a GroupWise Distribution List via LDAP

Novell Cool Solutions: Feature
By Pam Robello

Digg This - Slashdot This

Posted: 15 Mar 2005


You can send a message to a GroupWise Distribution List via another mail client using the LDAP protocol. For instance, you might want to do this if the members of a Distribution List within a GroupWise mail system need to be notified of an event or an issue, but you cannot access either the GroupWise client or the GroupWise WebAccess client.

Setting Up GWIA to Be an LDAP Server

To use the GroupWise Distribution List in another mail client, you need to configure the GroupWise GWIA agent as an LDAP provider server. To do so, make the following changes in the ConsoleOne (C1) utility.

Start ConsoleOne from a workstation that has access to the server on which the GroupWise system resides. You can do this by browsing to PUBLIC\MGMT\CONSOLEONE\1.2\BIN and double-clicking the ConsoleOne icon. In ConsoleOne, browse to the GroupWise object in the left-hand frame of the C1 window. Click once on the Domain object to highlight it. The GWIA object will be visible in the right-hand frame, as shown below.

To open the GWIA Properties page, either double-click the GWIA object or right-click the GWIA object and select Properties from the pop-up menu. On the Properties of GWIA page, go to the LDAP Settings tab. Make sure the Enable LDAP service box is checked, as shown in the figure below. Then click Apply to save this setting.

Next, go to the Access Control tab and select LDAP Public Settings from the pull-down menu. Make sure Allow Access is selected. You can override the default visibility for any of the fields listed under Visible Fields (Given Name, Last Name, Phone, and E-Mail). Select the field and then click the appropriate visibility button (Visible or Not Visible). For example, if Allow Access is selected as the LDAP default, but you don't want users' telephone numbers to be visible, you can change the Phone field setting to Not Visible.

Next, you need to check the visibility of the Distribution List object. To do this, go into ConsoleOne and open the properties page of the Distribution List object (as shown below). On the GroupWise tab, select Identification. Make sure Visibility is set to System (if Visibility is set to the default Post Office, the distribution list cannot be seen by anyone outside of that post office).

The GWIA agent must be loaded with a switch telling it which LDAP port to use. This port needs to be different than the LDAP port that eDirectory uses. eDirectory defaults to port 389 for its LDAP services. In the figure below, GWIA is configured to use port 390 for its LDAP services.

To configure the port, add the /ldapserverport=<portnumber> switch to the SYS:SYSTEM\GWIA.CFG file. If the GWIA agent is currently running, go to the GWIA Internet Agent screen on the server console and press F6 to restart it. If the GWIA agent is not yet running when you make the change to the GWIA.CFG file, the parameter will take effect the next time the GWIA agent starts.

Next, you need to create the LDAP directory in the address book of the mail client that will be used. This example uses Mozilla Thunderbird as the mail client.

Open the client. Select Tools | Address Book. When the Address Book opens, select File | New | LDAP Directory. This directory can have any meaningful name. The information in the Hostname box needs to be either the IP address of the server that is running GWIA or the DNS name of that same server. Base DN and Bind DN are not used. Change the port to the same number as the one used in the /ldapserverport switch in the GWIA.CFG file used in the previous step.

Mail clients do not have the ability to use wildcard searches, so you can find the distribution list by performing an address book search. After you find the distribution list, you can then use it to send a new mail message by dragging and dropping the list from the address book to the To: line in a new mail message, as shown in the following figure.


When you know the name of the list, sending a message from a non-GroupWise mail client to a GroupWise Distribution List is as easy as sending a message to any normal user.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates