Closed Bug 242860 Opened 20 years ago Closed 13 years ago

Create filter from message on List-id header

Categories

(Thunderbird :: Mail Window Front End, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 716551

People

(Reporter: brion, Assigned: davidf)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1 Build Identifier: version 0.6+ (20040506) I'm on a lot of mailing lists, and the most sensible way to set up filters is to sort them into folders, one for each list. Many lists (at least those run on GNU Mailman) provide a special 'List-id' header which uniquely identifies the list: this is the best marker to filter a list on, since lists may have alternate hostname or alias addresses and messages may be cross-posted to two lists, CC'd, or even BCC'd and the 'To or CC' filter won't handle these cases well. As it is, if I select "Create filter from message" from the Message menu on a mailing list message, it defaults to pulling the sender address, which is *never* what I want to filter the message on, and the list-id isn't shown in the basic header list in the message pane so I can't right-click it and use the context menu. It's possible to copy the header value from View Source and manually add List-id to the available headers for filtering, but that's very difficult and non-intuitive. Reproducible: Always Steps to Reproduce: 1. Receive a message from a mailing list including a list-id header (such as one run on Mailman). 2. Select 'Create Filter From Message...' in Message menu Actual Results: A filter is presented for the sender address. Have to cancel, go to view source, copy the list-id, manually set up a new filter, select (or add) list-id as a filter header, and paste in the value. Expected Results: Should provide a filter on the list-id if available such that the user need only select the actions and hit OK. Alternatively, it should be possible to specifically do this via a context menu from something shown in the message headers area while leaving the Message/Create Filter From Message with the default Sender filter. Similar request for MailNews is bug 144809.
I fully agree with the original reporter. Creating filter for mailing list is the number one activity of any geek. This should be facilited at most. Some suggestions: - like kmail, when the message has a mailing list header, automatically propose to create a filter for that header - in the list of header that the user can choose for setting a filter, propose the list-id header from the current message, and autofill the value field with the content of this field in the current message - create a wizard to automatically create a folder, associate it with a mailnig list, create a filter for that folder and allow to post to the mailing list by middle clicking on the folder. Oops, that's kmail :-)
It looks like I can't vote for this bug until comment on it, so "me too!" ;-) I'm used to mutt, but it's list handling has never worked as well as I would like (or as I thought it said it was supposed to) but kmail's mechanism sounds even better.
FWIW, List-id is covered under RFC 29219 http://www.ietf.org/rfc/rfc2919.txt . Bug 209488 seems related -- it would be very nice to have a custom view for mailing lists.
Part of the problem maybe that creating a filter by clicking on the address and requesting a new filter be made fails, But clicking on message and ]createfilter' works. In the first no filter shows in the filter list, n the second it does.
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
This should definitely not be autoresolved, it woudl be a very useful feature I've actually looked at the source and it doesn't look like it would be very difficult either (look at MsgCreateFilter in mail/base/content/mailWindowOverlay.js) I'll accept this so that hopefully I'll do something about it...
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Bother, reassigning to myself... Trying to work out how to get the List-Id from the header, since nsIMsgHdr only seems to refer to the indexed headers
Assignee: mscott → davidf
Status: ASSIGNED → NEW
pick customize from the header/search criteria drop down - add list-id to the list of custom headers. Then you can define a filter with list-id as a header to search.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
(In reply to comment #8) > pick customize from the header/search criteria drop down - add list-id to the > list of custom headers. Then you can define a filter with list-id as a header > to search. Thanks, but you'll find that this is already described in the bug summary at top. The problem is that even if you know enough to add the custom header to the drop-down, when you select it in the dialog you end up with a filter that checks the List-Id header against the *e-mail address* of whoever sent that message. I think only very rarely will this match what a reasonable user might expect. Getting the correct value for the List-Id header is difficult for a normal user, as it requires going to 'View Message Source' and poking through the raw headers. If you forget to do this before going to the filter dialog, then you have to cancel out and go back to the message, check the source, and start creating the filter again. Issue confirmed still present in TB version 1.5 Beta 1 (20050908) on Mac OS X.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
FYI, the new hotmail (kahuna) is going to use the list-* headers to display actions for the users -- like unsubscribe. http://www.shahine.com/omar/PermaLink,guid,155aa0bb-ab75-4ac2-9d71-990ad7fbf180.aspx
*** Bug 252116 has been marked as a duplicate of this bug. ***
I've found that manually adding a "List-Id" filter rarely works. For some reason Thunderbird usually ignores it. It would be nice to see it "built-in" to the list of header options to filter on.
QA Contact: front-end
The issue of filters on "List-id" and other custom headers not working is the subject of Bug 564189 and Bug 622307.
work in progress in bug 716551
Status: REOPENED → RESOLVED
Closed: 19 years ago13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.