Sun Java System Messaging Server 6 2005Q4 Administration Guide

ProcedureTo Create Filters

Steps
  1. In Console, open the Messaging Server that you want to create access filters for.

  2. Click the Configuration tab.

  3. Open the Services folder in the left pane and select IMAP, POP, or HTTP beneath the Services folder.

  4. Click the Access tab in the right pane.

    The Allow and Deny fields in the tab show the existing Allow and Deny filters for that service. Each line in the field represents one filter. For either of the fields, you can specify the following actions:

    1. Click Add to create a new filter. An Allow Filter window or Deny filter window opens; enter the text of the new filter into the window, and click OK.

    2. Select a filter and click Edit to modify the filter. An Allow Filter window or Deny filter window opens; edit the text of the filter displayed in the window, and click OK.

    3. Select a filter and click Delete to remove the filter.

      Note that if you need to rearrange the order of Allow or Deny filters, you can do so by performing a series of Delete and Add actions.

      For a specification of filter syntax and a variety of examples, see Filter Syntax and Filter Examples.

      Command Line

      You can also specify access and deny filters at the command line as follows:

      To create or edit access filters for services:


      configutil -o service.service.domainallowed -v filter
      

      where service is pop, imap, or http and filter follows the syntax rules described in Filter Syntax.

      To create or edit deny filters for services:


      configutil -o service.service.domainnotallowed -v filter
      

      where service is pop, imap, or http and filter follows the syntax rules described in Filter Syntax.