Sun Java System Messaging Server 6 2005Q4 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:

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

    Set the LDAP_DOMAIN_ATTR_OPTINX options in option.dat. Example:


    LDAP_DOMAIN_ATTR_OPTIN1=SymantecAV
    LDAP_DOMAIN_ATTR_OPTIN2=SpamAssassin
    
  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