חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Cannot get filter to mark read and delete

  • 8 תגובות
  • 1 has this problem
  • 1 view
  • תגובה אחרונה מאת pcoene1

more options

I have a filter that simply matches a pattern, deletes and marks a message read.

The filter runs, and does match the messages.

However, they always end up in the trash folder unread. I have tried reversing the order (delete, mark unread) and (mark unread, delete) but they always result in the same state, deleted but unread in my trash folder.

I am on Windows. Version info in attached image.

I have a filter that simply matches a pattern, deletes and marks a message read. The filter runs, and does match the messages. However, they always end up in the trash folder unread. I have tried reversing the order (delete, mark unread) and (mark unread, delete) but they always result in the same state, deleted but unread in my trash folder. I am on Windows. Version info in attached image.
צילומי מסך מצורפים

פתרון נבחר

I've just tested a 'Manual Run' on 'Inbox' on a POP account. Set up filter where Subject contained a specific word to move to trash and mark as read. I knew I had some emails that had not been read. Result: all required emails were moved to Trash and all were marked as read.

So this worked ok on a POP account using a manual run.

Created a filter to test on gmail imap account. Apply Filter: 'Manually Run' and 'Getting new mail' and 'Filter before Junk Classification' Do not select any of the others as they are not required. 'Match all of the following' Subject contains blahblah Perform action: Move message to Bin on gmail account Mark as read

Execution order says it will mark as read and then move to bin.

Enabled filter Created email from another account to send to gmail with subject blahblah Email received and moved to Bin Bin folder is not highlighted to show an unread item, so no count either and when I check, the email is in bin and 'read'.

Checked the 'Filter Log' (accessed from 'Message Filters' window) Filter shows two actions: Date: Apply filter 'Del-it' to message from me - blahblah date marked as read Date: Apply filter 'Del-it' to message from me - blahblah date moved message id numbers and letters@account to imap account /bin

All worked as expected.

Suggestion to test. Use same set up as me. clear all those checkboxes that do not need to be selected. remove the action to set junk status - keep it a bit more simplified to test results. make sure filter is enabled and the filter log is also enabled so you can check what is going on.

Read this answer in context 👍 1

כל התגובות (8)

more options

once the message is moved or deleted the filter can no longer access it to do anything. So make that action last.

more options

It doesn't work. Either order still fails. It seems like a simple filter concept - delete a message and don't tell me about it. But either order of commands still ends up the same way. In fact, the software tells me so...

more options

Anyone have an alternate way to do this, or a dev acknowledgment that this is a problem? I mean the best filter I can think of is one that deletes a message and doesn't make it show unread.

more options

Do I really need to consider switching clients to simple filter out unwanted emails?

more options

If you think you have found a bug, file it. https://bugzilla.mozilla.org/home

This is a support forum and unfortunately I can not even reproduce what you say happens. Either with your way or mine so obviously I have no idea how to fix what I can not see to be broken.

Although I have no idea why you would want to run a filter every 10 minutes, or when archiving that is only going to find new matches on getting new mail. I also do not understand why you would want to execute a filter that marks mail as junk before the junk filter runs. Just sounds like making additional manual filters to do what the automatic process should be picking up.

I also know that many IMAP mail accounts do not filter correctly unless the filter is run after junk classification.

I also do not trust the software to untangle poorly designed filters and get the order of operations correct. Despite what it says. I really doubt the logic involved is very sophisticated.

BTW, the mail has arrived in your inbox, so a new mail notification will still occur. So it will tell you about it, just not show it until you look in the trash.

more options

So you can create a filter that deletes and marks a message as read? If so, post the dialog and I'll use it.

The timing, archiving etc are not relevant to my issue they just happened to be that way on my screenshot while I was testing. All I want to do is a filter that will stop me from seeing emails with the specified matched. Period. I don't really care how often it runs.

Regarding junk.. I have these messages marked as junk, it seems to do nothing about it. Perhaps I do not understand how the junk feature works.

My filter does move it to trash, but I hate seeing my trash folder as bold, meaning some unread. That could indicate something I deleted without reading.

Matt said

If you think you have found a bug, file it. https://bugzilla.mozilla.org/home This is a support forum and unfortunately I can not even reproduce what you say happens. Either with your way or mine so obviously I have no idea how to fix what I can not see to be broken. Although I have no idea why you would want to run a filter every 10 minutes, or when archiving that is only going to find new matches on getting new mail. I also do not understand why you would want to execute a filter that marks mail as junk before the junk filter runs. Just sounds like making additional manual filters to do what the automatic process should be picking up. I also know that many IMAP mail accounts do not filter correctly unless the filter is run after junk classification. I also do not trust the software to untangle poorly designed filters and get the order of operations correct. Despite what it says. I really doubt the logic involved is very sophisticated. BTW, the mail has arrived in your inbox, so a new mail notification will still occur. So it will tell you about it, just not show it until you look in the trash.
more options

פתרון נבחר

I've just tested a 'Manual Run' on 'Inbox' on a POP account. Set up filter where Subject contained a specific word to move to trash and mark as read. I knew I had some emails that had not been read. Result: all required emails were moved to Trash and all were marked as read.

So this worked ok on a POP account using a manual run.

Created a filter to test on gmail imap account. Apply Filter: 'Manually Run' and 'Getting new mail' and 'Filter before Junk Classification' Do not select any of the others as they are not required. 'Match all of the following' Subject contains blahblah Perform action: Move message to Bin on gmail account Mark as read

Execution order says it will mark as read and then move to bin.

Enabled filter Created email from another account to send to gmail with subject blahblah Email received and moved to Bin Bin folder is not highlighted to show an unread item, so no count either and when I check, the email is in bin and 'read'.

Checked the 'Filter Log' (accessed from 'Message Filters' window) Filter shows two actions: Date: Apply filter 'Del-it' to message from me - blahblah date marked as read Date: Apply filter 'Del-it' to message from me - blahblah date moved message id numbers and letters@account to imap account /bin

All worked as expected.

Suggestion to test. Use same set up as me. clear all those checkboxes that do not need to be selected. remove the action to set junk status - keep it a bit more simplified to test results. make sure filter is enabled and the filter log is also enabled so you can check what is going on.

more options

So I did what you said and it still failed, but looking at the log, it looked like another filter I have was doing a match as well, and for whatever reason, the filter I wanted didn't work. I don't see why the other filter is interfering, but it's an easy overlap to fix by tweaking filter #2.

Thanks. This was something I should have seen myself.