Closed Bug 233165 Opened 22 years ago Closed 21 years ago

Flag filter not being applied automatically to incoming (IMAP) mail

Categories

(MailNews Core :: Filters, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 184490

People

(Reporter: greg-mozilla-bugzilla, Assigned: sspitzer)

Details

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 I have a mail filter that flags certain messages. It works fine when run manually using "Tools>Run Filters on Folder", but never seems to run automatically on newly arrived messages or when Mozilla Mail starts up. My Inbox is IMAP, in case that's relevant. Cf. bug 182906, which seems to be the other way round (automatic application works but manual application broken)! Reproducible: Always Steps to Reproduce: 1. Set up filter to flag matched messages 2. Receive mail Actual Results: Nothing Expected Results: Matched received messages should be flagged
Flagging messages via filter in a POP account is working OK for me, but it could be an IMAP problem. Any other filters being run? Is the message also being moved, or staying in the Inbox?
No other filters are being run, and no other action is being taken. The relevant msgFilterRules.dat follows in its entirety (but with names changed for the avoidance of spam): version="8" logging="yes" name="abc def" enabled="yes" type="1" action="Mark flagged" condition="AND (\\"Delivered-To\\",is,abc@xyz.org) AND (\\"Delivered-To\\",isn't,def@xyz.org)" In case it's of any help: 1. The rule itself may actually be broken -- it's intended to flag messages delivered to "abc" except those redirected from "def", and I haven't yet received all the necessary kinds of message to test it fully -- but the point of this bug report is only that it doesn't run automatically. When run manually, it does flag messages sent directly to "abc". 2. Delivered-To is a custom field (created using the Mozilla UI) that can occur multiple times in a message, like Received. It's added by MTAs (e.g. qmail).
I believe the problem is not with your selecting Flag, but with your custom-header criterion of "Delivered-To" -- per the dupe, custom headers are not filterable under IMAP. *** This bug has been marked as a duplicate of 184490 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Since reporting the bug I've deleted the given flag rule but have created another, also based on the custom Deliver-To header, which works fine. Per the other bugs, this could be caused by a change (unknown to me) at the IMAP server. However, if the problem is that the custom headers have sometimes not been downloaded, would the filter have run successfully from the tools menu? Depending on the answer, this bug may need reopening. However, I'm not reopening it because I don't even see the original problem now! (I haven't changed build.)
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.