This article details how to test regular expressions on a PGP Universal Server without needing to send an email to test the expression.
Dictionaries are lists of terms to be matched. Dictionaries work with mail policy to allow you to define content lists that can trigger rules or fulfill the conditions of a rule to trigger actions. For example, Dictionaries can contain addresses you want excluded from processing, key words such as confidential, or user names for internal users whose messages need special handling.
A policy rule can have a dictionary associated with it as a condition. If a message meets the condition, the PGP Universal Server processes the message according the rules action.
There are two types of dictionaries:
Static dictionaries are editable lists of literal or pattern strings. All except one of the dictionaries are static.
Dynamic dictionaries are not editable but are maintained by the PGP Universal Server. Information in the dictionary comes from data elsewhere on the PGP Universal Server rather than added directly to the dictionary by hand. There is one dynamic dictionary, the Managed Domains dictionary.
Literals are dictionary entries that can only match against the exact characters in the entry. There is one and only one possible match. For example, if the dictionary entry is firstname.lastname@example.org, then a message matches the entry only if it contains email@example.com. Similar strings, for example, firstname.lastname@example.org, do not match.
Patterns are dictionary entries that match against characters in messages that satisfy the pattern. For example, the pattern email@example.com requires a match for the letter "r", then any number of other characters, then the sequence "@example.com", it matches "firstname.lastname@example.org" and "email@example.com". Use regular expression syntax to create patterns.
Use the following steps to test expressions in a new or other custom added dictionary.
Login to the PGP Universal Server administrative interface.
Click the Policy card then select Dictionaries.
Click the desired dictionary's name to test from the Dictionaries list.
Above Term, click the drop-down arrow and change the option from Search for term to Evaluate expression.
Type a sample string to be tested then click Go.
A list of terms that fit the criteria you specified appears.
Imported Document ID: TECH149550
Subscribing will provide email updates when this Article is updated. Login is required.
Thanks for your feedback. Let us know if you have additional comments below. (requires login)
Subscribed to the Article.
Unable to subscribe
Thanks for your additional feedback !!!
Enterprise Support Virtual Agent
Rate Me :
Tell us more:
Welcome! My name is Sami, the Enterprise Support Virtual Agent answering technical support questions.