
Filter run on all folders and go in a loop (bug 1176658?)
I only started using TB 38.0.1 on Windows recently and it's really nice except for an issue with filters I ran into. I have searched a lot of forums and some people seem to have the opposite problem. Here is basically what happens:
1) I have an IMAP account working with a server running Dovecot. The server places junk mail in the Junk folder and anything else in the Inbox folder. There are several other folders as shown in the attached screen shot.
2) I have a set of filters that move messages to different folders depending on the recipient address. For example, messages arriving at support@example.com are supposed to go to the Support folder, messages arriving at sales@example.com are supposed to go to the Sales folder, etc.
3) Furthermore, some messages depending on their subject should go to Newkey or Orders. I have ordered the filters so that messages are filtered by subject first, and then place the rest in different folders.
What I want: The filters to run on INBOX only. The messages, whose subject matches set criteria to go to Orders or Newkey. Remaining messages, whose To address matches set criteria to go to Sales or Support.
What I get: the filters run on all folders multiple times and even end up in an infinite loop. For example, if a message like this arrives:
To: sales@example.com Subject: New Order For ...
It first ends up in Orders, according to its subject. TB moves it there, so far as good. Then somehow TB runs the filters AGAIN on the Orders folder, this time as the message is already there, the subject filter does nothing, but the next one comes into play and moves the message to the Sales folder. Then TB runs the filters AGAIN, sees the subject and moves the message back into Orders, and so on it goes into infinite loop of moving the message between these two folders.
Another issue is the filters also apply to messages that arrive in the Junk folder, which is something I don't want at all.
My question is: how do I setup or force TB to filter only messages in INBOX and nowhere else?
Moambuepyre