Editing a Snippet in the Source File

Snippets cannot be edited through the Policy Repository interface. They must first be copied to the PureMessage policy. Edit snippets via the fields on the Rules page of the Policy tab, or by changing the source code for the policy script. After a rule has been edited, you have the option of adding the snippet to the Repository.

To edit a snippet in the source file:

  1. Click the name of the snippet that you want to edit (for example, Adding A Disclaimer).

    The Repository File page for that snippet is displayed.

  2. Click Copy to Clipboard.

    The file will be copied to the Clipboard, which is displayed as an item at the top of the list of snippets in the Policy Repository.

  3. On the Policy tab sidebar, click Policy Rules.
  4. Click see the source in the top right corner of the Policy Rules page.

    A read-only version of the policy script’s source code is displayed.

  5. Click the file path link at the top of the policy script.

    An editable version of the policy script is displayed.

  6. Make the desired changes to the Sieve script, and click Save.
    The read-only version of the script will be displayed again, along with messages advising that your changes have been saved but that they have not been committed.
    Note Complete the next two steps only if you want to add the rule to the policy script. Otherwise, follow the instructions for “Adding a Snippet to the Repository”, and then revert changes to the policy script.
  7. Click Commit.
  8. Click Restart now to activate the changes.