Open Bug 198961 Opened 22 years ago Updated 2 years ago

Do not apply junk filter to messages moved by normal filters

Categories

(MailNews Core :: Filters, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: sbrown, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030321 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030321 I have filters set up so that when mail comes from specified senders, it goes to s specified folder. These senders may or may not be present in my address book. I want junk mail controls limited to my 'Inbox' folder. I CAN'T STRESS THIS STRONGLY ENOUGH! It's bad enough I have to browse through the junk folder looking for messages that don't belong there. When I open one of my other folders and watch the messages vanish before my eyes.....aaaarrrrgggghhh! Hope I'm not being too harsh. Reproducible: Always Steps to Reproduce: 1. Enable junk controls. 2. 3. Actual Results: Messages move from all folders to the junk folder. Expected Results: Only work on incoming messages that have not been sent to other folders by a filter. Further, only Inbox messages should be examined.
*** This bug has been marked as a duplicate of 198100 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Severity: major → enhancement
Summary: Mozilla sends filtered messages to the junk folder. → Do not apply junk filter to messages moved by normal filters
bad dupe resolution, sorry -> reopen
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
As an addon to the enhancement, it should be possible to set a filter which let you set as a condition "Status is junk". Tell me if I missed it or if I need to post another bug on that. There are "Status is replied" and "Status is read" and "New", but not the Junk status flag. This is really important if you want to set particular filters. Thanx.
I agree. It should run the junk mail filter only on the inbox, unless the user wants it to run on all folders. This could be done through a pref much like the one that lets you check more than the inbox for new messages.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updating Hardware and OS, both to All
OS: Linux → All
Hardware: PC → All
Perhaps the enhancement would be to allow the user to select which folder(s) the junk filter should not touch. Personally, I expect the junk filter to grab those it thinks are junk, even in folders containing mail moved by another filter, as I have several folders that contain public lists that will occasionally get spammed.
I agree with the vote (comment #6) for making this configurable. I typically filter anything addressed to me into a specific "Addressed to Me" folder. Unfortunately, a fair amount of SPAM winds up in that folder, so I would want junk filtering to work there.
How about having the priority of the adaptive junk mail controls with respect to other filters be configurable in the list under "Message Filters"? It would appear that currently the junk mail controls are run after all the other filters. Having this be user-configurable would sort out this bug as well as bug 217682.
*** Bug 217682 has been marked as a duplicate of this bug. ***
See also bug 196964.
This is (IMHO) a rare instance where a more elaborate solution will be better than a simple one. 1. Junk Mail/Junk filter are unfortunate terms, I have plenty of junk that I want to keep, or even that I value. 2. The Bayesian filter can flag as 'likely spam' against your corpus of spam (the messages that you have marked as such) and your corpus of non-spam. 3. There should be filter action of 'Mark as non-spam' which should be applyable before Bayesian filtering takes place and thereby pre-sorts some known good mails, improving the quality of your corpora. See http://www.paulgraham.com/spam.html which, though lengthy, does cover a lot of detail. It is quite possible that over time the experience of this possible will disappear as the Bayesian system will spontaneously stop incorrectly marking good mails as spam If this is done then the behaviour complained of cannot occur, because the mails that the filters are treating as good (and placing into various folders) will be part of you known good corpus, and cannot be marked as spam. There should be other ways of handling spam. For example mail claiming to be from my e-mail address/organisation when it in reality does not is definitely spam yet it will be caught by filters and at the least labelled.I would be unamsued if the use of this filter prevented automated spam handling as spammers would soon cotton on to the notion of spoofing the address that that filter relied on. Mail with outrageous click skew (year 2002 or dated after February 2004) often spam and should be filtered. On the good side, various addresses are always not spam. These assessments and actions should be independent of the Bayesian mechanism.
*** Bug 207650 has been marked as a duplicate of this bug. ***
taking - I find this very useful, but an option to turn it off wouldn't be too hard.
Assignee: naving → bienvenu
I think that it would be helpful to be able to select the folders which to use the junk mail controls on. I have several lists (Like others) that it doesnt matter if they LOOK like spam, because alot of it isnt. I had over 300 messages out of 400 moved to spam folder today, and unfortunatly, half of them were legitimate out of my mailing list folder. It is a hassle to have to read through them.
(In reply to comment #15) > I think that it would be helpful to be able to select the folders which to use > the junk mail controls on. That's bug 189970. I personally prefer that solution to the solution I envision for this bug, but I don't know how David is planning to address this; I think both paths solve the same problem.
*** Bug 200496 has been marked as a duplicate of this bug. ***
I've just marked Bug 200496 as a duplicate of this one, but would like to point out that I think this bug should be marked as "critical" not as an enhancement. This bug results in data loss. The conditions are simple, just turn on the "delete" option in the junk mail controls. Since mail that is already moved to other folders, filtered to other folders, marked as "not junk", etc. is still being marked as junk again, those messages will be deleted. There is on way to undo it and no way to stop it other than not using this feature.
compare bug 211826
I recognize the debate on how the filters shoudl work, but the documentation should reflect how they do work. Here is a quote; "Junk Mail Controls runs after mail mail filters and applies only to the Inbox folder and its sub-folders. Use this to your advantage, for example, you can filter mail you are sure not to be Junk to a special folder outside of Inbox so that the messages will not be classified as Junk (especially useful if you subscribe to newsletters or if you are on a moderated mailing list)."
good point, that's science fiction, not true for either imap or pop3.
If the docs say this then it is indeed science fiction. In fact, you can enjoy highly annoying results by doing a search for any string, recursively through all your mail folders and get ready for some fun. Junk Mail controls are run on every single folder, spiriting away carefully filed mail into the Junk folder.
Product: MailNews → Core
*** Bug 230218 has been marked as a duplicate of this bug. ***
Personally, I'm a bit bewildered as to why the junk filter is applied when you view the folder and not simply at the point of downloading. My situation is related to the original problem in that the normal filter and the junk filter conflict, but is different in that I do actually want the mails to be junked as appropriate. Instead I get a new mail notification, and a folder full of unread emails which disappear to the junk folder when I go to view them, thus wasting my time. Instead of a per-folder opt-in or opt-out, wouldn't it be sufficient to (a) apply the junk filtering at the point of download, and (b) assign the junk filter an entry in the Message Filters box so that it can be prioritised accordingly with Move Up and Move Down? This would solve the underlying problem in this bug and also my problem (seen in bug 276355).
*** Bug 323287 has been marked as a duplicate of this bug. ***
I'm using Seamonkey 1.02, and Mozilla 1.7.13 on different machines, but still experience the same irksome behavior. IMHO(which mirros others') is that the junk filters should really ignore all other folders aside for the INBOX folder. Another option (afaik, a little more involved) might be to have a new 'flag' for each folder such that defaults to IGNORE, so when you click on any of the folders(perhaps except INBOX), the junk filter doesn't go on a junking spree. Case in point, a couple of times my boss calls me and asks me if I've received his email. I reply no. I check the server. No mail. I check my inbox. No mail. I look in the Junk folder. There they are. To me, in this case, this bug is *critical*. *weak grin*
If your filter is sure the message is not junk, add the filter action "Mark as non junk" to the filter actions. It's under your control.
But what of messages that are not moved by filters? David, if your solution is that every single individual message that we receive must be marked as "not junk" one-by-one if we want to keep it, or that we need to use a specially crafted filter to apply by default to all mail that we want to keep, and that intentionally storing it in a different folder is not indication enough that it is intended to be saved, then you are not seeing the full scope of this problem. I have lost important e-mail messages because of this bug, when having the option to automatically delete junk turned on, even after a long delay. The combination of the two is fatal.
I see what you mean now. Basically, in the Message Filters toolbox, for every filter I add an additional rule that marks all incoming messages to that box as Non-Junk. I'll have to test this out, but it sounds like a workaround/fix. Still. Instead of having the need to have the junk filter run on every single selected folder and having the junk filter check each and every message for the "not junk" flag, wouldn't it be simpler to have a flag for the folder itself such that once marked "not junk", the junk filter skips it. (Effectively this would mean the junk filter doesn't run.) Of course, this doesn't mean the user cannot manually run the junk filter on the particular folder. (just my $0.02.)
yes, having a per flag folder that says don't analzye new mail in this folder for junk is an other option, and has been a requested feature (I don't have the bug number handy). But then you'd have to go through each folder and set the flag, and you probably have as many folders as filters :-)
Please also think of a situation like this: IMAP Folders, the server does some mailsorting before (eg. procmail delivers spam into the Folder "Spam"), the finetuning of spamcontrol stays at Thunderbird/MozillaMail but when I click on the Folder "Spam" all the Spam-Mails are downloaded and checked by the Junk-control and go to the "Junk"-Folder... very annoying (the Folder "Spam" is NOT under the Folder "Inbox" - they are on the same level). /Christian
*** Bug 309014 has been marked as a duplicate of this bug. ***
David: With bug 329569 / bug 200788 now fixed such that junk filtering is run on filtered messages immediately after they have been moved, is this RFE now WontFix, or is it still feasible to implement it? (In reply to comment #30) > yes, having a per flag folder that says don't analzye new mail in this > folder for junk is an other option, and has been a requested feature > (I don't have the bug number handy). Bug 189970
The problem is still here. I have about 1 on 20 automated mails from an server control system that end up in junk. These mails are created automatically and their format is very recognizable, both as subject and from address. It would make me sleep better to have filters on other folders than "incoming", or that some filters runs before the junk filter. I keep flagging them as "not junk" when it happens, to no avail...
re #33, no, those bug fixes don't change anything w.r.t. this issue. I still think the answer is to be able to mark a folder so that the junk mail controls aren't run on the folder. (I think that's probably more direct than having per-folder filters to mark all messages as non-spam)
QA Contact: laurel → filters
Product: Core → MailNews Core
Assignee: dbienvenu → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.