為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Thunderbird message filter marks folder bold blue without any new message

  • 8 回覆
  • 3 有這個問題
  • 3 次檢視
  • 最近回覆由 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>

由 Wirewrap 於 修改

所有回覆 (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.

由 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