Sun Java System Messaging Server 6.3 Administration Guide

ProcedureTo Specify Domain-level Filtering

You can specify which domains receive filtering. An example of this feature would be if anti-spam or anti-virus filtering were offered as a premium service to ISP domain customers. The general steps for specifying domain filtering is as follows:

  1. Specify the domain LDAP attributes that activates the filtering software.

    Set the LDAP_DOMAIN_ATTR_OPTINX options in option.dat. Example:


    Note –

    By default, the attributes like SymantecAV or SpamAssassin do not exist in the schema. Whatever new attributes you use, you will need to add them to your directory schema. See the appropriate Directory Server documentation for instructions.

  2. Set filter attributes in the domain entries that receive spam filtering.

    The values for the filter attributes are multi-valued and depend on the server. Using the example shown in Step 1, the entries would be as follows:

    SymantecAV: virus
    SpamAssassin: spam

    For a program like Brightmail which can filter both viruses and spam, the valid values are spam and virus. When used as a multi-valued attribute, each value requires a separate attribute value entry. For example, if LDAP_DOMAIN_ATTR_OPTIN1 was set to Brightmail, the entries would be:

    Brightmail: spam
    Brightmail: virus