Open Bug 37654 Opened 24 years ago Updated 2 years ago

Auto-filter based on message's thread parent

Categories

(MailNews Core :: Filters, enhancement, P3)

enhancement

Tracking

(Not tracked)

Future

People

(Reporter: BenB, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

I'd like to have a filter, that says "If the msg is a reply to a msg, which is
filed in folder/server x [or its subfolders], then move it there, too.". This
would allow me to manually sort the first msg of a thread and then have the
whole thread filed there, too, without having a special rule for this thread.
Depends on: 37653
renaming bug to be a little clearer
I've also wanted this feature for some time, though it would be difficult and 
possibly expensive because you'd have to search all subfolders for the 
messageID..

mscott and I had this idea of a small cache of the last N messages you've 
seen to do stuff like remove duplicate messages.... this cache could also be 
used for this filter....

Status: NEW → ASSIGNED
Summary: File, where parent lives → Auto-filter based on message's thread parent
Target Milestone: --- → M20
alecf, I filed teh blocking bug 37653 in this issue.
QA Contact: lchiang → laurel
reassigning my filter bugs to gayatrib..
Assignee: alecf → gayatrib
Status: ASSIGNED → NEW
Depends on: 59368
Blocks: 66425
This would be a bit icky in general if you get cross-posts to multiple mailing
lists you're on, like the Mozilla lists.
reassigning to naving
Assignee: gayatrib → naving
Target Milestone: --- → Future
Blocks: 62033
No longer blocks: 62033
*** Bug 193707 has been marked as a duplicate of this bug. ***
mass re-assign.
Assignee: naving → sspitzer
Blocks: 236849
Product: MailNews → Core
(In reply to comment #1)
> renaming bug to be a little clearer
> I've also wanted this feature for some time, though it would be difficult and 
> possibly expensive because you'd have to search all subfolders for the 
> messageID..
> 
> mscott and I had this idea of a small cache of the last N messages you've 
> seen to do stuff like remove duplicate messages.... this cache could also be 
> used for this filter....

Another approach would be to always leave a stub header in the Sent folder. So
you can quickly check "is this message a reply to something I sent" but that
won't tell you where to file it. Perhaps instead of automagically filing it to
the right place, it would be sufficient AND the "is a reply" condition with
other existing criteria, and deal with it with the normal filter actions:
  subject contains "foo" AND message is a reply
     Move to user-specified folder
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Hi there, this is a great feature and I'd love to have it.  Just for my own clarity, the use case would be:

1) I have a folder I use for organizing messages, says "Toys"
2) I receive a message to my Inbox from someone concerning "Transformers, More than meets"
3) At this point, I drag that message into the filter "Toys".
3a) Possibly here, there could be a popup/preference that would allow any future posts with that title to be filtered into the same folder.  

In this way, a very quick mini-filter is created just for messages with this same title.  And thus those messages would get redirected to that folder.

The popup would maybe look like:
"Do you want future messages for this thread to follow into the _______ folder?"   (yes/no)  and also a checkbox for "Always perform this action when moving threads?"
Filter on "Nobody_NScomTLD_20080620"
QA Contact: laurel → filters
Product: Core → MailNews Core
This would be an outstanding feature not available in other MUAs, AFAICS. It would make a _lot_ of filters in my setup obsolete. Of course I understand that it would be hard to implement for TB 3.x

Do you think this could be done for TB4?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.