If I have multiple filters that match the same email do they all get processed? If so, in what order are they processed? What if the first filter matched modifies the email to make it match (or no longer match) a different filter?
|
I ran into a funky bug where the order of filters made a difference: Filter #1: Apply label "Foo" to mail from "foo-sender" Filter #2: Apply label "Bar" to all mail EXCEPT for mail from "foo-sender". If I fully specify the email address in the filter definition, including the domain ("foo-sender@domain.com"), then the order doesn't matter. But if I just give the username without the domain in the filter definition (just plain "foo-sender"), then both labels are incorrectly applied to mail from "foo-sender". It only works if I reverse the order of the filters. I think this is just a bug, not a feature. |
|||
|
|
|
I think these two filters in this order will cause the email to remain in the inbox: if From foo@bar.com then Skip the Inbox. if From @bar.com then Never send it to Spam. |
|||
|
|
|
I just tried it, and it seems that they happen in the order they are defined in the list: If you have:
... then it will apply the label to the message. If you reverse the order, it won't. |
|||||
|
|
If you have your filters set to be marked by labels an email will be label with all that match. |
|||
|
|
|
The only exception to bbodiens comment (I was just about to post almost exactly the same answer!!) is that one would expect a 'marked as read' and 'archived' message to essentially skip further filtering, but this is not the case. To test this i set up two test filters, one that labels incoming mail with the subject 'testing' as test1 and archives it, and a second filter on 'testing' that labels test2. The mail was archived AND labeled twice, so it appears that filters are concurrent. |
|||
|
|
|
Any and all GMail filter rules that match will run and do their thing. I'm not sure it's possible to create rules that potentially conflict. The filter criteria available are:
You can't affect any of these with the filter actions that are available, so I don't see how one rule could run and then affect the message in a way that would stop it matching another filter that it would have previously matched. |
|||||||
|