Skip Headers

Oracle® Email Administrator's Guide
Release 2 (9.0.4)

Part Number B10720-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

B
Alias and Distribution List Look Up

This section discusses alias and distribution list look up.

This appendix contains the following topics:

Enabling Alias Lookup From Standard Clients


Lookup is available in WebMail without having to perform end user configuration. The lookup facility is available when addressing an e-mail that the end user is composing, and when adding members to a distribution list in the address book, in addition to the basic Address Book search that is available on every page through the Search bar under the sub tab region.


To enable e-mail alias lookup from a standard client, such as Netscape Communicator, perform the following steps:

  1. Run the $ORACLE_HOME/oes/bin/oesSearchUtil.sh script to enable or disable alias lookups from standard clients:
    $ORACLE_HOME/oes/bin/oesSearchUtil.sh -type alias -option <enable or 
    disable> -domain email_domain
    
    

    where:

    email_domain is the e-mail domain name for which this option must be enabled or disabled.

  2. Look up e-mail aliases from standard clients with a search base as root, or the e-mail alias container, such as:
    cn=Alias,domain_dn,cn=um_
    system,cn=EmailServerContainer,cn=Products,cn=OracleContext 
    
    

    where:

    domain_dn is the domain DN.

    For example, if the e-mail domain is acme.com, then the value is the string dc=acme,dc=com

Another suggested configuration is to create a referral at the public namespace. For example, the following sample ldif file creates a container cn=emailsearchbase,subscriber_dn containing two referrals to the public users container and e-mail alias container:

dn: cn=emailsearchbase, subscriber_dn 
cn: emailsearchbase 
objectclass: top 
objectclass: referral 
objectclass: extensibleObject 
ref:
ldap://oid_host:oid_port/cn=Alias,domain_dn,cn=um_
system,cn=EmailServerContainer,cn=Products,cn=OracleContext
ldap://oid_host:oid_port/cn=Users,subsriber_dn

where:

subscriber_dn is the distinguished name of the subscriber in Oracle Internet Directory.

oid_host is the Oracle Internet Directory host name

oid_port is the Oracle Internet Directory port

domain_dn is the domain DN.

For example, if the e-mail domain is acme.com, then the value is the string dc=acme,dc=com

Enabling Distribution List Lookup From Standard Clients


Lookup is available in WebMail without having to perform end user configuration. The lookup facility is available when addressing an e-mail that the end user is composing, and when adding members to a distribution list in the address book, in addition to the basic Address Book search that is available on every page through the Search bar under the sub tab region.


E-mail distribution lists and membership information are synchronized between the private e-mail namespace and the public namespace to enable distribution list lookup from standard clients.

This synchronization option can be enabled or disabled using the WebMail administration pages.

For dlsync to work, the public DL container must be created and should have all permissions for the EmailAdminsGroup.

Sample Public Distribution List Container LDIF File
dn: cn=dlContainer, subsciber_dn
changetype: add 
objectclass: top 
objectclass: orclContainer 
cn: dlContainer 
orclaci: access to entry by
group="cn=EmailAdminsGroup,cn=EMailServerContainer,cn=Products,cn=OracleContext" 
(add,delete,browse) 
orclaci: access to attr=(*) by
group="cn=EmailAdminsGroup,cn=EMailServerContainer,cn=Products,cn=OracleContext"
(read,write,search,compare) 

where:

subscriber_dn is the distinguished name of the subscriber in Oracle Internet Directory

Sample Object Class Definition LDIF File
dn: cn=subschemasubentry
changetype: modify
add: objectclasses
objectclasses: ( objectclass_oid NAME 'mailgroup' SUP groupofuniquenames 
AUXILIARY MAY ( mail ) )

where:

objectclass_oid is the unique identifier for the mailgroup object class

Distribution List Synchronization Utility

The esdssyncdl utility synchronizes distribution lists from the e-mail private namespace under the cn=EMailserverContainer to a public namespace. This allows standard clients, such as Netscape Communicator, to see the distribution lists through anonymous searches. You can run esdssyncdl occasionally to dump or redump all distribution lists from a private namespace to a public namespace.

Whenever any update and delete occurs on the members of the private distribution list, the changes are reflected in the public distribution list. When you add or delete a distribution list using the WebMail administration pages, it occurs in the public namespace.

Synchronizing One or Multiple Distribution Lists

Running esdlsync with an input file containing a list of distribution lists, with one distribution list name in each line synchronizes the private e-mail namespace under cn=EMailServerContainer,cn=Products,cn=OracleContex, to a public name space. Use this option when you only have a few distribution lists to synchronize.

The syntax is as follows:

esdssyncdl ldaphost=ldap_host      (mandatory) 
 port=ldap_port                    (mandatory) 
 username=superuser_DN             (mandatory) 
 password=superuser_pass           (mandatory) 
 preferencelocation=DN_of_the_Dl_preferences   (mandatory) 
Detail: DN where Dl preferences is located. ( See Note 1 & 3. ) 
 inputfile=filepath 
Detail: full path of the file with dls to sync, 
one dl's mailid per line.  ( see Note 2 ) 
 flags=More_options_with_which_sync_can_be_modified
Detail: flags=all 

The following is a usage example:

esdssyncdl ldaphost=gmldap01 port=389 password=welcome 
username=cn=orcladmin inputfile=/tmp/dlfile 
preferencelocation=dc=us,dc=oracle,dc=com,cn=um_system, 
cn=EMailServerContainer,cn=Products,cn=OracleContext 

Synchronizing All Distribution Lists from a Private E-mail Namespace

Synchronizing all private distribution lists under the cn=EMailServerContainer, to a public namespace can be done as a one-time task. This is the default option.

Use this option when your deployment has distribution lists populated under the cn=EmailServerContainer ( the e-mail private namespace), you want to add the lists to a public namespace so that a standard client can see them.

The syntax is as follows:

esdssyncdl ldaphost=ldap_host      (mandatory) 
port=ldap_port                     (mandatory) 
username=superuser_DN              (mandatory) 
password=superuser_pass            (mandatory) 
preferencelocation=DN_of_the_Dl_preferences   (mandatory) 
        Detail: DN where Dl preferences is located. 
flags=<More options with which sync can be modified> 
        Detail: flags=all 

The following is a usage example:

esdssyncdl ldaphost=gmldap01 port=389 password=welcome 
username=cn=orcladmin flags=all 
preferencelocation=dc=us,dc=oracle,dc=com,cn=um_system, 
cn=EMailServerContainer,cn=Products,cn=OracleContext 

The following preferences are set in the domain where the distribution lists are present:

For the inputfile content, the mail ID of the distribution list should be added to each line that is to be synchronized to a public namespace.

The distinguished name of the LDAP location where distribution list preferences is located. This helps in running multiple esdssyncdl commands simultaneously for a different domain.

The DN of the domain should be the nearest domain under which all distribution lists are present.

For example, if the private distribution lists are present under:

cn=List,dc=us,dc=oracle,dc=com,cn=um_
system,cn=EMailServerContainer,cn=Products,cn=OracleContext

then the distinguished name of the preference should be as follows:

dc=us,dc=oracle,dc=com,cn=um_
system,cn=EMailServerContainer,cn=Products,cn=OracleContext

If the inputfile and flags=all options are both specified, synchronization occurs based on the inputfile data.

When the sync utility is run for a distribution list that exists in a public namespace, all existing members of the public distribution list are replaced with the members of the private distribution list.