Closed Bug 307346 Opened 19 years ago Closed 16 years ago

Not all filters being applied automatically as new mail is retrieved (pop)

Categories

(MailNews Core :: Filters, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: peng.thinkblue, Unassigned)

Details

(Keywords: qawanted, Whiteboard: closeme 2009-05-04)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050906 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050906 Thunderbird/1.4 ID:2005090608

I have a number of filters set up for when mail is retrieved, and a couple of
filters never get applied automatically. If I manually run the filters from
Tools | Run Filters On Folder they work fine, but invariably I have to run these
filters again to get the mail moved.

Reproducible: Always

Steps to Reproduce:
1. Set up filter to be applied based on a particular sender and containing
specific text in the body
2. Download new mail that meets the filter criteria

Actual Results:  
The new mail stays in the Inbox until I manually select Tools | Run Filters On
Folder

Expected Results:  
The mail should have been automatically moved to the folder I specified

I am using the default theme, and the other filters are being applied as the
mail is received. This bug has been present for some time. It was an annoyance I
could deal with but I thought that with public beta rolling around I should get
the bug posted.
1) You have the enabled checkbox checked, correct?
2) The e-mails do meet the filter criteria, right?
3) Filters are not conflicting with each other?
4) What specific filters are failing?
1) Definitely
2) Yes, in fact when I manually run the filters they get filtered
3) If they are I haven't seen the conflict. Again, this is only happening upon
receipt, not when I run them manually.
4) There are two that I can think of off the top of my head. I believe there is
at least one other one, but I can't recall what it is. Here are the two:
    a) Filter Name: TWoP - OPBSN
       Match all the following:
          From is "forums@televisionwithoutpity.com"
          Body contains "Sports Night on CSC"
       Move to Sports Night on Local Folders (within TWW folder)
    a) Filter Name: TWoP - Greg the Bunny
       Match all the following:
          From is "forums@televisionwithoutpity.com"
          Body contains "Greg the Bunny"
       Move to Greg The Bunny on Local Folders (within TWW folder)
I am seeing the same thing:

Thunderbird version 1.5 (20051025)

1), 2) and 3) are also correct for me.

The failing filter is a filter which checks for Body text (as in the initial description of this bug):

Match all the following:
   Subject contains "Plan"
   Body contains "Bernd"
Set Priority to: Highest
Label Message As: Important

I have around 25 filters, this is the only one which filters for Body text and it is the only one which fails.
I am experiencing the same issue. After upgrading from 1.0.x to 1.5, filters that check for body text have ceased to work on automatically run on mail arrival. However, if I subsequently run filters manually on my inbox the same filters workd correctly. I have tried re-creating the filters as well as changing the body text that they search for, with no success.

Experiencing the same since I upgraded. I was forced to downgrade to 1.0.7 again as around 300 mails need automatic body filters each day...

probably these are dups of this bug:
#233902
#201244
Please check all if you have this on: bug 324467 comment 23 (protection from e-mail loss due to anti-virus scanning). If so, I guess it is a duplicate.
Version: unspecified → 1.5
(In reply to comment #6)
> Please check all if you have this on: bug 324467 comment 23 (protection from
> e-mail loss due to anti-virus scanning). If so, I guess it is a duplicate.
> 

No, bug 324467 isn't an issue for me. But yes, any filters that specify body text still need to be manually applied as in my original report.

I am currently running Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060119 Thunderbird/1.5 ID:2006011908.
For what it's worth, I see the same symptoms with the
following environment:

Linux Fedora Core 3
Thunderbird 1.0.7-1.1.fc3 (20050929)
All mail folders accessed via IMAP

----- begin msgFilterRules.dat (host deleted) -----
version="8"
logging="yes"
name="ipw2200"
enabled="yes"
type="1"
action="Move to folder"
actionValue="imap://tomiii@[host]/Mail/ipw2200"
condition="OR (from,is,ipw2100-devel)"
name="hdnatalk"
enabled="yes"
type="1"
action="Move to folder"
actionValue="imap://tomiii@[host]/Mail/hdnatalk"
condition="OR (subject,contains,[hdnatalk])"
----- end msgFilterRules.dat (host deleted) -----

In my case, the first filter ("ipw2200") never runs automatically
(or maybe runs but never actually does anything) but always works
when I manually select Tools->Run_Filters_on_Folder.  The second
filter never fails to do the right thing.
(In reply to comment #6)
> Please check all if you have this on: bug 324467 comment 23 (protection from
> e-mail loss due to anti-virus scanning). If so, I guess it is a duplicate.
> 

This appears to be the problem for me. If I disable anti-virus integration in Thunderbird, the filters that were not working begin working again.
Please ignore comment #8.  PEBKAC.  I had this configured
as an "is" filter; changing to "contains" makes it work
flawlessly.  It's interesting though why running the
broken filter manually still worked at all.  I think
that's a [different] bug.
(In reply to comment #6)
> Please check all if you have this on: bug 324467 comment 23 (protection from
> e-mail loss due to anti-virus scanning). If so, I guess it is a duplicate.
> 

I had the same problem. Disabling "Allow antivirus clients to quarantine individual messages" elominated the problem. However, I see this more as a workaround than as a real solution, because I'd like to have that option enabled.
This bug isn't present in recent nightly builds of Thunderbird 2.0a1. I didn't note when it stopped being an issue, but all my filters are being applied when messages arrive in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060824 Thunderbird/2.0a1 ID:2006082404.
This is still an issue with v2.0.0.0 (20070326).  I have filters specified to tag messages from certain senders as they arrive.  None of my filters run automatically.  Running them manually still works perfect.
(In reply to comment #13)
> an issue with v2.0.0.0 (20070326).
> filters specified to tag messages
> None of my filters run automatically. Running them manually still works perfect.
To christian: Your problem sounds Bug 355537. 
Using thunderbird version 2.0.0.0 (20070326) on fedora core 6.

Some email I receive includes a header of this type:

X-DynaStop: 65.172.146.212 is dynamic.

The general form of that header is:

X-DynaStop: <IPv4 address> is dynamic.

i.e., the only variable part of the header is the IPv4 address.

I made a filter:

---------------------------------------------
For incoming messages that:

(o) Match any of the following

X-DynaStop contains dynamic

Perform these actions:

Move message to spam on pete@ucwh.net
---------------------------------------------

Note the header was defined using the Customize option of the leftmost dropdown
list, which on my version of Thunderbird has "Subject" as its default value.

The filter is enabled, yet email containing the specified header still arrives
in my Inbox.  When I run the filter on the Inbox manually, it does not move
emails that it should move.
I have experienced a quite similar problem at least since 1.5.17.
This problem occured only on specific filter that move message and set junk status in same time.

It seems that the order of action is the problem (see Workaround Section bellow). Perhaps the rule encounter a conflict with TB filtering mecanism when the message is tagged as "spam" (DΓ©placer les nouveaux courriels indΓ©sirable vers:).

================================
Reproductible : Always
Check version : 1.5.17, 2.0.0, 2.0.4
Junk management : adaptating - ON

Filter Description:
Message valid at least one of the following condition:
1 - "Subject" "begin with" "[bulk]"
2 - "Subject" "content" "[Bulk]"

Action :
1 - "Move to" "Junk on xxxx_xxxx account"
2 - "Set junk status" "spam"

Expected result : Any message with subject beginning with [bulk] (old Yahoo!Mail tag) or which content [Bulk](new Yahoo!Mail tag) must be put on the Junk mail Folder with the Junk/Spam flag.

Actual result : Mail is not tagged and stay in Inbox

Workaround : Manually filter application (Options->Apply Filter on this Folder)
================================

I have found an other workaround, but I can't generalize it due to "Adaptative Spam Detection" (feature) required activation :
Simplication of the Action list restore a similare result: 1 - "Set junk status" "spam"

Comment :  The problem is than lot of of my network computer haven't this feature enable, and it is dificult do access all of them to enabled it. Then I provide a set of filtering rules to each computers with the previous method.
That work fine from at least TB 1.0.5 to 1.5.8 version, but no more since 1.5.17.

This is a major feature regression for me, due to fact than mail filtering is used since more than 20 years, and the implicite non-writing rule is than action order don't need break the filter rule application (that which is given in manual mode).
I am seeing this too.

I have 55 filters. Two of them are never applied automatically. I have tried moving them higher and lower in the order, but it makes no difference. Neither does deleting them and re-creating them.

This is with:

TB 2.0.0.4
On Linux kernel 2.4.22 (Mandrake 9.2)

I can see no obvious different between the 2 filters that don't work and the 53 that do work.

FWIW, all my filters simply move mail to different folders.

There doesn't seem to have been any action on this bug since it was reported nearly two years ago. Indeed, it is still marked as UNCONFIRMED :-( It seems like the probability of someone experiencing the bug is low (otherwise there would presumably have been more reports of it), but once it happens, one is stuck with it, and has to run the filters on all incoming mail manually :-( This is (obviously) Not Good.




I have the same problem with version 2.0.0.6 (20070728).

All of my filters worked with previous versions.  Some filters still work.  Some haven't worked since I upgraded.  Others worked with the new version but all of a sudden stopped working (the email goes to my inbox rather than being filtered).  All of them work if I run them manually.
I was wrong.  The filter that stopped working all of a sudden was due to another reason.  However, I do have several filters that don't work after upgrading and I can't figure out why (they work when I run them by hand).
Bri, are you using IMAP? Are the headers you're filtering on "custom"?
No to both.  I'm using POP, and they are very simple filters with only one condition:  From contains <email address>

I am using the full email address, so perhaps "contains" should be "is" but it worked in the previous version.  I'll change it and see if that fixes anything.
Changing it from "contains" to "is" has no affect -- matches still appear in my Inbox instead of being filtered until I run the filter manually.
I have a very similar problem. Running filters manually there is no problem but if I apply it at the moment of downloading messages TB hangs and keep saying downlading the message that match the filter until I close it with ctrl+alt+supr (WindowsXP)
I've got the same bug, but with 3.0~a2.
It looks like there's a duplicate over here.
https://bugzilla.mozilla.org/show_bug.cgi?id=443594
Likely not the same bug as that (should be) a recent trunk regression.
Assignee: mscott → nobody
Component: General → Filters
Product: Thunderbird → MailNews Core
QA Contact: general → filters
Version: 1.5 → 1.8 Branch
(In reply to comment #11)
> (In reply to comment #6)
> > Please check all if you have this on: bug 324467 comment 23 (protection from
> > e-mail loss due to anti-virus scanning). If so, I guess it is a duplicate.
> > 
> 
> I had the same problem. Disabling "Allow antivirus clients to quarantine
> individual messages" elominated the problem. However, I see this more as a
> workaround than as a real solution, because I'd like to have that option
> enabled.

My quick read on this pop issue is it sounds like same a bug 324467 and should be duped. Dupe or not, at this point it will greatly help for someone who sees the problem to reproduce it/them on current trunk - recent nightly, or beta** - and if confirmed IMO the issue should be escalated to major. 

** http://www.mozillamessaging.com/en-US/thunderbird/early_releases/
Keywords: qawanted
Summary: Not all filters being applied automatically as new mail is retrieved → Not all filters being applied automatically as new mail is retrieved (pop)
Reporter no longer uses thunderbird. And Xavier's address fails.  So this appears to be headed to being closed.  Unless someone reports still seeing the problem.  (that is ... where it's clearly not bug 324467)
Whiteboard: closeme 2009-05-04
RESO INCO due to lack of response to last question. If you feel this change was made in error, please respond to this bug with your reasons why.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.