User:Asasaki:ZimbraMailFilters
For reference. Perhaps other people will find it useful.
Thunderbird setup
First, and possibly most importantly, you need to change your Thunderbird prefs. By default Thunderbird will only check for new mail in your inbox, leaving filtered mail unread for hours until you click on that folder. To fix, Preferences -> Advanced -> General tab -> Config Editor. Change the mail.check_all_imap_folders_for_new to TRUE.
Filters
Nagios
(this section is probably out of date)
Nagios is useful but only if the alerts are humanly parsable. I'd rather know about something than not know, but the deluge of emails is too much, causing me to want to just delete them all.
Instead, I'm filtering. All Nagios filters search on the From field for the string "nagios". I split these up into separate folders:
Name | Additional filter rule | Destination mail folder |
nagios - netapp | Subject contains "netapp" | nagios/netapp/ |
nagios - n810 | Subject contains "n810" | nagios/mobile/ |
nagios - n900 | Subject contains "n900" | nagios/mobile/ |
nagios - linux | Subject contains "linux" | nagios/linux/ |
nagios - darwin | Subject contains "darwin" | nagios/osx/ |
nagios - ubuntu | Subject contains "ubuntu" | nagios/linux/ |
nagios - leopard | Subject contains "leopard" | nagios/osx/ |
nagios - mac | Subject contains "-mac-" | nagios/osx/ |
nagios - xserve | Subject contains "xserve" | nagios/osx/ |
nagios - pxp | Subject contains "-pxp-" | nagios/win32/ |
nagios - pvista | Subject contains "-pvista-" | nagios/win32/ |
nagios - mw32 | Subject contains "mw32" | nagios/win32/ |
nagios - win32 | Subject contains "win32" | nagios/win32/ |
nagios - surf | Subject contains "surf" | nagios/surf/ |
nagios - misc | nagios/ |
Bugmail
It's good to keep up on others' bugs but not if it makes you lose your bugs. Fortunately, b.m.o sends X-headers in email so you can filter that way... allowing me to follow release@mozilla-org.bugs without going crazy.
All bugmail will be from bugzilla-daemon@mozilla.org. In addition,
Name | Additional filter rule | Destination mail folder | Description |
bugmail - mine | Header named "x-bugzilla-assigned-to" is "aki@mozilla.com" | bugs/ | Bugs assigned to me |
bugmail - reporter | Header named "x-bugzilla-reason" contains "Reporter" | bugs/ | Bugs I've reported |
bugmail - request | Header named "x-bugzilla-type" is "request" | bugs/ | bug review requests |
bugzilla - cc | Header named "x-bugzilla-reason" is "CC" | bugs/ | Bugs I'm cc'ed on. You may wish to filter this elsewhere. |
bugzilla - fennec | Header named "X-Bugzilla-Watch-Reason" contains "@fennec.bugs" | bugs/fennec/ | Fennec bugs that don't match the above. |
bugzilla - watch - release | Header named "x-bugzilla-reason" is "None" Header named "x-bugzilla-assigned-to" is "release@mozilla-org.bugs" |
bugs/unassigned | Bugs assigned to release@mozilla-org.bugs |
bugzilla - watch - nobody | Header named "x-bugzilla-reason" is "None" Header named "x-bugzilla-assigned-to" is "nobody@mozilla.org" |
bugs/unassigned | Bugs release@mozilla-org.bugs gets emailed about, but are assigned to nobody |
bugmail - other | bugs/other | Release bugs that are assigned to other group members. |
Don't forget the checkbox at the bottom to stop processing other filters! Otherwise you may get multiple copies of the same email.