Manitou-Mail Home

7.  Table: filter_action

The actions associated to conditions of the filtering system. When the condition of a filter is evaluated to true, the associated actions are applied in sequence to the message currently filtered.

Structure of filter_action



Expression to which the action is connected.

REFERENCES filter_expr



Order of the action in the list of actions connected to the expression, starting at 1.



A string that qualifies the action and whose interpretation depends on action_type.

  • if action_type is 'tag', the value is a tag name. When the tag is part of a hierarchy, the full hierarchy is included in the name, with the substring '->' (dash followed by right angle bracket) as a node separator between levels (example: Newsletters->artnet monthly for a two-level hierarchy in which Newsletters is the parent and artnet monthly is the child tag)

  • if action_type is 'priority', an action argument of +=x means to add x (a signed integer) to the current priority of the message, and an argument of =x means to set the message's priority to x.

  • if action_type is 'status', the action argument is a substring containing letters from the list: R, A, T, D.

    'R' means to set the read status, 'A' the archived status, 'T' is for the trashed status and 'D' means to discard the message.

  • if action_type is 'redirect', the action argument is the email address to which the message should be redirected.


character varying(100)

The type of the action. Possible values are: priority, redirect, status, stop, tag.

The stop action, when encountered, stops the filtering process for the current message.