Thunderbird message filter marks folder bold blue without any new message
Thunderbird 31.4.0 on Win 7 64 bit
The filter below marks the destination folder blue as if containig a new unread message each time it runs even with no incoming messages at all.
Seems to me that the condition is satisfied even if there are no messages. Indeed, to isn´t [email protected], it is nothing.
How to qualify the filter to require there must be a message to work on??
I tried condition="AND (to,isn't,[email protected]) AND (size,is greater than,0)" with no effect.
name="Wildcard"
enabled="yes"
type="17"
action="Move to folder"
actionValue="mailbox://nobody@Local%20Folders/Wildcard"
action="Stop execution"
condition="AND (to,isn't,[email protected])"
השתנתה ב־
כל התגובות (8)
that filter as is would move all mail in your inbox to that folder.
Matt said
that filter as is would move all mail in your inbox to that folder.
It will move all mail that is not to my mail address [email protected] into folder Wildcard. That is fine and the filter does that. In my inbox comes all messages to my domain name, like [email protected]
The question is about what the filter does when run on an empty inbox. It should not (I hope) mark the target as containing unread messages when it does not.
as i see it you have two actions on one condition. Either it will move or it will stop exec. That cant work. Move all that is lars... and then deal with the rest.
This picture below is how the filter looks in TB GUI.
I think it is OK to have two actions per filter.
The question is about what the filter does when run without finding a match. It should not (I hope) mark the target folder as containing unread messages when that folder is empty.
השתנתה ב־
Well it does not make mine blue. However, if you have Zero sized email you have a corruption problem, not a need for a filter.
Matt said
Well it does not make mine blue. However, if you have Zero sized email you have a corruption problem, not a need for a filter.
Never makes it blue? If you have a mail triggering the filter, if you have a mail not triggering or if you run the filtet with no mail?
The zero size test is me desperately trying to fix the problem, it is unrelated and can be removed. Made no difference.
I copied your filter (just changed obvious things) into the filter-file and ran it. Nothing blue. Nor did it stop before it had checked and mowed all messages that didn't have one of my email-address as to. My conclusion is that the second action never comes in play. Otherwise it would have stopped after first hit. I ran it on an empty inbox as well, no blue nothing moved.
Maybe if you try to compact or in worse case emptied and try to rebuild that inbox you will get rid of your malfunction
This problem is clearly not reproducible for anyone else. It is not really important either, just tried to learn someting new by asking for help diagnosing it.
I think when this happens there is a "null reference" entry in the filter log:
Applied filter "Wildcard" to message from - at 1970-01-01 01:00:00 moved message id = to mailbox://nobody@Local%20Folders/Wildcard
This is a normal Filter log entry:
Applied filter "Wildcard" to message from Lars <[email protected]> - sssss at 2015-02-06 22:51:08 moved message id = [email protected] to mailbox://nobody@Local%20Folders/Wildcard