Incoming Mail Filter
The Incoming Mail Filter facility allows you to control what messages are accepted by a mailbox. This facility in combination with use of the Aliases-tab allows the construction of powerful mail filtering and message routing. The IMF is set from the Mail-tab at the [Incoming Mail Filter] button.
The Filter system is also used in other locations in Mailtraq, for example, in the Mail Routing Table. The Filter Criteria and rules work the same way in all cases.
Do not confuse this facility with the Filters-tab which controls folder filtering within the mailbox.
Care needs to be taken in the use of filters to make sure mail is not inadvertantly lost. Messages excluded by the IMF are permanantly deleted and cannot be recovered.
Filter Settings Tab
The tab consists of a two column table with each row of that table providing an individual customisable filter setting. Each filter setting is a combination of a Filter Criteria and a field value. Mailtraq performs case insensitive matches on the contents of field values, which may also contain the following wildcards:-
* An asterisk (ASCII 42) which represents any sequence of zero or more characters
? A question mark(ASCII 63) which represents any single character
% A percentage sign(ASCII 37) which represents any single number
Messages can be either included or excluded from being acted on by Mailtraq by placing suitable entries in the Filter Criteria table and setting a Match type accordingly.
Mailtraq provides an extensive list of standard Filter Criteria but any header name can also be used if required by overwriting the existing text in a criteria field. The headers of a message can be viewed in the console by selecting a message and choosing View from its context menu. The headers appear at the top of messages and are separated by a single blank line from message bodies.
Read more about working with Filter Criteria...
Be careful when working with filters, as excluded messages are dropped and cannot be recovered. A safe approach is to make a temporary duplicate mailbox using a mailbox alias, and practice your filters there, and when they are working correctly, then apply that to the original mailbox and delete the alias. You can learn about Aliases here.