Filters *unreliably* sort the mail into their target files. I have reconstructed the filters from scratch twice, both times with identical, unpredictable results: each f… (read more)
Filters *unreliably* sort the mail into their target files. I have reconstructed the filters from scratch twice, both times with identical, unpredictable results: each filter works properly on the inbox when tested, but each filter only works *sometimes* in the normal course of getting (IMAP) and sorting mail. When getting a batch of mail, some messages are sorted, while others are not. When testing the same filters on the same (still unsorted but already picked up) messages, those same messages are recognized and sorted correctly. The question is: Why are the filters not working reliably during message pickup?
The mail server is running "Debian stable" Dovecot. It seems to work well; I'm not *missing* any messages, but they're not always getting into the right folders. Instead, some messages, and sometimes quite a few messages, may remain in the inbox. I surmise that the problem is in Thunderbird, where somehow the downloading process somehow undermines the sorting process. A queuing issue? A communications-with-Dovecot issue? (The server is in Paris and I'm in North America, but there doesn't seem to be any undue latency that I can detect. The server is not very busy, that's for sure.)
In case it helps: I filter mostly on `DKIM-Signature`, `Authentication-Results`, and `Received` header entries. In a couple of cases, I use `Body`. I'm almost always using "match any" (as opposed to "match all").