Everyone who uses Bugzilla seriously gets a lot of bugmail. Bugzilla provides controls so you can restrict the amount of it you get. But did you know it also adds headers to each email so you can do further filtering on the client side?
Here are a sample set of headers, with explanations:
|X-Bugzilla-Reason:||CC||(the role you have on the bug which led to you getting the mail; other values are AssignedTo, QAcontact)|
|X-Bugzilla-Type:||changed||(other value is ‘new’)|
|X-Bugzilla-Watch-Reason:||QAcontact email@example.com||(the role of the person you are watching, and who it is, if you are getting bugmail for that reason)|
|X-Bugzilla-Who:||firstname.lastname@example.org||(the person who made the change)|
|X-Bugzilla-Changed-Fields:||AssignedTo Status||(the names of the fields changed by the update)|
The following headers give the values of particular bug fields after the change in question has been made.
You can use any of these, or a combination, as a trigger to do something different with a bugmail – file it somewhere, tag it, mark it as read or delete it.
To set up filters in Thunderbird 3, go to Tools | Message Filters… . If you click “New” to add a new filter, and then scroll down to the bottom of the list of headers and other values you can filter on, you will find “Customize…” This allows you to enter custom header values, such as the X-Bugzilla headers above.