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

搜尋 Mozilla 技術支援網站

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

了解更多

FILTERING : Delete going to JUNK instead.

  • 6 回覆
  • 0 有這個問題
  • 5 次檢視
  • 最近回覆由 y112

more options

Bug forever (years, versions, reinstallations).

Failure by filters whose action is to DELETE. As stated in subject. Uncomplicated.

Other filters work (they distribute msgs into specified folders).

Bug forever (years, versions, reinstallations). Failure by filters whose action is to DELETE. As stated in subject. Uncomplicated. Other filters work (they distribute msgs into specified folders).

由 y112 於 修改

所有回覆 (6)

more options

Perhaps the problem is you are having trouble with the precedence of how messages are filtered.

First thing is filters only work on mail that is in the folder, so if the first action marks the message as junk, and you have automatically move junk to the junk folder, then that is where the filter processing will end as the message is no longer in the folder to be further processed to get moved to junk.

So you mark it as junk and it goes to junk where it is subject to whatever junk processing you have in your account settings. Like being auto deleted after XX days.

Fundamentally you just can't delete and mark as junk in a single filter, because both actions by default result in the mail leaving the folder at that point so whatever follows fails.

more options

Thank you, Matt. In no filter do I have action to mark as junk.

It occurs to me that perhaps these messages arrive already tagged somehow as junk, and TB acts accordingly without applying filter. What do you think?

more options

y112 said

It occurs to me that perhaps these messages arrive already tagged somehow as junk, and TB acts accordingly without applying filter. What do you think?

If you have an imap account then any email the server marks as junk/spam will auto get put into the server Spam folder. Thus ends up in your imap account spam folder. Message Filters created by you in Thunderbird cannot act on that email because it's not arriving into the Inbox.

There is a setting in 'Account Settings' > 'Junk Settings' which can auto put emails arriving in Inbox into Junk. If checkbox is selected for :'Trust junk mail headers set by: x'. So I suggest you check to see if that option is selected and uncheck/deselect it.

You can tell if server or Thunderbird marked something as junk which may help in understanding the problem. In Folder Pane: Select Junk/Spam folder Enable the column header called 'Spam' If the flame icon is red then it was marked as junk either by Thunderbird Junk filter or by you performing it manually. If the flame icon is just an outline - not red - then it was marked as junk by server.

more options

@Toad-Hall, thank you for the good reply.

Since I posted my thought about pre-junked messages, I have been able to make TB automatically delete nearly all of them : In header that is titled "X-Microsoft-Antispam-Mailbox-Delivery", at end of its longish content there is text "JunkEmail". I filter on that header and that text, action to delete.

I always have had unchecked the option "Trust junk mail headers set by".

I like your information about the column titled "Spam", and I enabled it just now.

more options

Addendum

> there is text "JunkEmail"

Is either present or absent at end of string.

more options

> "If the flame icon is just an outline - not red - then it was marked as junk by server."

Perhaps same as the uniformly colored gray icons that I get?