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:
Specify the user LDAP attributes that activate the spam filtering software.
Set the LDAP_OPTINX options in option.dat. Example:
LDAP_OPTIN1=SymantecAV LDAP_OPTIN2=SpamAssassin |
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 |