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

'Read'/'Junk'/'Delete' actions in message filters settings do not work.

  • 1 cavab
  • 1 has this problem
  • 21 views
  • Last reply by Zenos

more options

I have set my message filters to work like this: when certain words in from/subject/body section are recognized, the message (before junk classification) should be marked as 'read', then junk status should be set to 'junk' and finally the message should be deleted. I want this so as not to be informed by system tray bar for new incoming messages when they are recognized as junk or at least not wanted. It never works. Messages are there, marked unread and the system tray bar informs me of new incoming messages. I then have to run the message filters manually on subsequent folders.

I have set my message filters to work like this: when certain words in from/subject/body section are recognized, the message (before junk classification) should be marked as 'read', then junk status should be set to 'junk' and finally the message should be deleted. I want this so as not to be informed by system tray bar for new incoming messages when they are recognized as junk or at least not wanted. It never works. Messages are there, marked unread and the system tray bar informs me of new incoming messages. I then have to run the message filters manually on subsequent folders.

All Replies (1)

more options

Well you are trying to reinvent the wheel. Managing spam by simple filtering on keywords is hard to do well and spammers don't make life easy by using distinctive words.

Anyhow, where are the messages after your filter has run? I'm not sure, but if a filter marking a message as Junk is treated as if you had set it by hand, then the message might be moved silently to your Junk folder, where the filter has probably lost sight of it.

I don't think you can subvert the "new messages" alert, because downloading a message to the Inbox is a pre-condition for junk assessment. That is, for the filter to be able to work with a message, it must have the message where it can access the message's contents, and that means the message needs to be in your Inbox.

And if a filter marks a message as Junk, it doesn't actually train the Junk controls, so this action in your filter is largely futile. It will leave a visible flag that tells you it is Junk, but Thunderbird doesn't act on it. To get filters that do invoke training, you'll need the FilterQuilla add-on. This allows the addition of a "Train as Junk" action to your filters.

My first step would be to remove the "Mark as Junk" action. If everything else works, this labelling as Junk doesn't matter because the message ends up deleted.

Modified by Zenos