Knowledge base

rewrite_triggers verifiedimportant

Rewrite rules

Selects messages to be modified on consumption, with a time window, a precedence and an enabled flag.

In detail

Rewriting happens before anything else: the message has just been read from the queue and nothing has been decided about it yet. A trigger selects by destination domain, sending address, pool and tag, and — unusually — by a time window, so a rule can be scheduled to apply for a period and stop by itself. The enabled column means rules can be parked rather than deleted, which matters when the rule encodes something learned the hard way.