PMDF System Manager's Guide


Previous Next Contents Index

1.2.2 Domain Rewriting Rules

Domain rewriting rules, or, as they are frequently called, rewrite rules, play two important roles. First, they are used to rewrite addresses into their proper or desired form. Secondly, they are used to determine to which channels a message should be enqueued.3 The determination of to which channels a message should be enqueued is made by rewriting its envelope To: addresses.

Each rewrite rule appears on a single line in the upper half of the PMDF configuration file. Comments but not blank lines can appear between rules. Every rule consists of two parts: a pattern followed by an equivalence string or template. The two parts must be separated by one or more spaces. Spaces are not allowed in the parts themselves. The template specifies a mailbox name (e.g., username), a host/domain specification, and the name of a system attached to an existing PMDF channel to which messages to this address should be enqueued.

See Section 2.2 for complete information on the use of rewrite rules.

Note

3 And thus the terminology implied by the often asked question, "To which channel does the message rewrite?"


Previous Next Contents Index