Filter processing questions

Post Reply
Tipperton
Posts: 38
Joined: Sun Mar 02, 2003 7:09 pm

Filter processing questions

Post by Tipperton »

Question: How are multi-line filters processed?

Example

Messages are new all select
Messages are partial selected extract

Does this filter produce two sweeps of the database (one for each line) or are each of the lines checked against the current message before moving on the the next message?

Question: What happens here?

Subject contains foo all select
Subject contains bar all select

Will messages containing bar be the only ones selected or will messages containing foo also be selected.

Subject contains foo all ban
Subject contains bar all ban

Will messages containing bar be the only ones banned or will messages containing foo also be banned.

Thanks!
:cool: [b]Tipperton Thistledown[/b]
[i]Seek the aid of those not men to quench the fires of war,
Else Evil triumphant will ascend and rule fore ever more.[/i]
alex
Posts: 4538
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

there are no multiple sweeps, every header is checked against the filter once.

the best way to see how filters work is to invoke edit menu->message filter and enter the rules one by one. when you press 'select' you'll actually see matched messages selected, so no reason to speculate how it would work if you can easily see it in action.

in the first example you'll see new partial messages (you can achieve the same by messages are new all extract, messages are partial all extract - using the approach above).

in the second example the first line will be ignored.

in the third example headers containing foo or bar will be hidden (if in kill filters - deleted).
Post Reply