Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Thunderbird message filter marks folder bold blue without any new message

  • 8 replies
  • 3 have this problem
  • 3 views
  • Last reply by Wirewrap

more options

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 lars@myisp.com, 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,lars@myisp.com) 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,lars@myisp.com)"

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 lars@myisp.com, 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,lars@myisp.com) AND (size,is greater than,0)" with no effect. <code> name="Wildcard" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/Wildcard" action="Stop execution" condition="AND (to,isn't,lars@myisp.com)" </code>

Modified by Wirewrap

All Replies (8)

more options

that filter as is would move all mail in your inbox to that folder.

more options

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 lars@mydomain.com into folder Wildcard. That is fine and the filter does that. In my inbox comes all messages to my domain name, like somethingelse@mydomain.com

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.

more options

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.

more options

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.

Modified by Wirewrap

more options

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.

more options

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.

more options

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

more options

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 <lars@someone.com> - sssss at 2015-02-06 22:51:08 moved message id = 54D5374C.6040309@someone.com to mailbox://nobody@Local%20Folders/Wildcard