Creating a Policy Setting

By default, the Policy: Policy Settings page of the Configuration tab has no settings configured. You can create a custom policy setting, in the form of a check box, that gives group administrators the ability to enable/disable group-specific policy filtering. Policy settings are created from the command line using pmx-group-policy.

To create a policy setting:

  1. At the command line, as the “pmx6” user, run the following:
    pmx-group-policy --add --id <ID> --name <ListName>\
      --type <UI_Control>  --style <ListType>\
      --description <ControlName>

    where ID is a unique identifier for the list, ListName is the name that appears in the policy constructor in the PureMessage Manager, UI_Control is the type of control the group administrator will use to enable/disable the setting (only “checkbox” is currently supported), ListType specifies whether the related list is an “optin” or “optout” list, and ControlName is the text label for the control that appears in the Groups Web Interface.

  2. Run pmx-profile sync-from-db.

    A check box option is now displayed on the Policy: Policy Settings page of the Configuration tab. In addition, a new group list is added to /opt/pmx6/etc/lists.conf and is also available in the drop-down list that is used for specifying lists in the PureMessage Manager’s policy constructor.

For additional information, see the pmx-group-policy man page and “Adding and Defining a Policy Setting” in the Groups Setup tutorial.

For more information about configuring the PureMessage policy, see “Policy Configuration” in the Administrator’s Reference and “Policy” in the Manager Reference.