After moving mails to another folder, a filter that is set to only work on received emails is fired
Categories
(Thunderbird :: Filters, defect)
Tracking
(Not tracked)
People
(Reporter: accounts, Unassigned)
References
Details
(Keywords: regression)
Comment 1•8 years ago
|
||
Comment 3•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
Comment 9•8 years ago
|
||
Comment 14•7 years ago
|
||
Comment 16•6 years ago
|
||
Wayne, I don't understand what your are saying in your comment, so just in case, I want to confirm that the original problem still exists.
If a filter moves a message to a subfolder and when I decide it better sits in inbox and move it back there, the filter will be triggered again and move it back to the subfolder (60.8.0). It would be helpful if that could be avoided.
Comment 17•6 years ago
|
||
(In reply to klaus from comment #16)
Wayne, I don't understand what your are saying in your comment, so just in case, I want to confirm that the original problem still exists.
If you are asking about "Almost a year into the release, I think we can probably say that ship has sailed.", it means too late to reverse course/undo the change.
If a filter moves a message to a subfolder and when I decide it better sits in inbox and move it back there, the filter will be triggered again and move it back to the subfolder (60.8.0). It would be helpful if that could be avoided.
Avoided if you set mail.imap.filter_on_new=false, no? If not, what is your proposal?
Comment 18•6 years ago
|
||
yes, I read that somewhere. It seems it goes into conflict for people who read on mobile before TB can do the filtering.
How about using Gloda or messageheaderID to determine whether the email has already been processed by TB?
Considering the workflow:
-TB receives in inbox
-TB filter moves email to subfolder
-sometime later I see email and move it back to inbox
.. at that point, the email would hopefully be in Gloda. So if the inbox filter on receiving checks whether messageheaderID has been indexed and leaves those messages out, we should be fine.
I am aware there are some deficiencies about indexing on moving messages, but still, we might catch a few of those which are moved back. It probably works if there is sufficient time between receiving and moving back to inbox.
Comment 19•5 years ago
|
||
this is still not working in TB 78. Filters are reapplied when the moved message is redownloaded from imap inbox.
-
I had a look at the code. What about this: first, we set highwater to 0, then we get the true value from msgdatabase.
If that would fail or would be the value for the wrong folder, highwater might stay 0 and the if condition would always be true. -
it is in imap. Should bug component be filters or imap ?
Unfortunately, I cannot debug this without a full TB build environment for cpp, which I do not have.
Un-Setting the pref does not help if one uses mobile to read first (then the message is read and will not be moved upon first occurrance in inbox - another bug).
Also, this is pretty obscure to end users. Just installing a fresh TB on another PC for this account with the pref default (!) set will forcibly move all these emails out of inbox (who would remember to unset the pref before setting the email ccounts?). Just happened to me, 1 GB of emails mixed back into another folder. (at least, TB suddenly offered to regain 1 GB of deleted email storage, which probably is due to the move?).
Klaus
Comment 20•5 years ago
|
||
the idea of imap is to have access from multiple PCs to the same account.
We have a pref that is set to a value where we know it does not work.
The side effect of that pref being set may be a total reorganisation of inbox - thousands of emails might be moved a second time, if a new TB installation points to that account.
Should severity be higher than normal? Or the default be false? If it does not work on true, why set default to true?
Comment 21•5 years ago
|
||
I have the latest Thunderbird (78.6.1) and the same problem exists. If I set a filter to move an email automatically from Inbox to a folder A under a specific condition, then I manually move the email later to another folder B, the filter runs again and it's put back into folder A. I've added a filter on my IMAP server instead (which is probably best anyway).
Comment 22•3 years ago
|
||
I argue this can be solved by changing user workflow, hence the severity of this bug is low (which might also explain why nobody cared enough to fix this yet). Thunderbird by default does have no active filters, hence if users import/create filters that move e-mails from inbox to somewhere, actions by users are what trigger filter behavior.
-
Workaround:
- Manually drag e-mails not back to Inbox, but rather to a folder that is not the inbox.
Expected outcome: Filters will only act on Inbox. Since these e-mails are not in the inbox, they will not be moved.
-
Workaround for installing new Thunderbird and accessing from remote:
- Create a new folder
- manually (or automatically via filters), move all e-mails from Inbox into this folder
- Install new Thunderbird; Import and run filters.
Expected outcome: Filters will only act on Inbox. Since these e-mails are not in the inbox, they will not be moved.
Comment 23•3 years ago
|
||
This bud is still open: with TB (102.2.1 (32-bit)) and the flag set as recommended above, I still cannot overrule filters by manually moving mails from one folder to the other.
Thanks for your great work!
Updated•3 years ago
|
Description
•