Sun Java System Messaging Server 6.3 Administration Guide

ProcedureTo Specify User-level Filtering

It may be desirable to specify filtering on a per-user basis. For example, if spam or virus filtering is offered as a premium service to ISP customers, you can specify which users receive this and which don’t. The general steps for user filtering are as follows:

  1. Specify the user LDAP attributes that activate the spam filtering software.

    Set the LDAP_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 user 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 are:

    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 entry. For example, if the filter attribute for Brightmail was set to Brightmail, the entries are:

    Brightmail: spam
    Brightmail: virus