User:Asasaki:ZimbraMailFilters: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 15: Line 15:
{| border="1" cellspacing="0" cellpadding="5"
{| border="1" cellspacing="0" cellpadding="5"
|-
|-
| '''Name''' || '''additional filter rule''' || '''destination mail folder'''
| '''Name''' || '''Additional filter rule''' || '''Destination mail folder'''
|-
|-
| nagios - netapp || Subject contains "netapp" || nagios/netapp/
| nagios - netapp || Subject contains "netapp" || nagios/netapp/
Line 30: Line 30:
=== Bugmail ===
=== 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.
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,
All bugmail will be from bugzilla-daemon@mozilla.org.  In addition,
{| border="1" cellspacing="0" cellpadding="5"
|-
| '''Name''' || '''Additional filter rule''' || '''Destination mail folder'''
|-
| bugmail - mine || Header named "x-bugzilla-assigned-to" is "aki@mozilla.com" || bugs/
|-
| bugmail - reporter || Header named "x-bugzilla-reason" contains "Reporter" || bugs/
|-
| bugzilla - cc || Header named "x-bugzilla-reason" is "CC" || bugs/
|-
| bugzilla - release || Header named "x-bugzilla-reason" is "None"<br>Header named "x-bugzilla-assigned-to" is "release@mozilla-org.bugs" || bugs/unassigned
|}


=== build@m.o ===
=== build@m.o ===

Revision as of 22:38, 2 December 2008

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

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 - xserve Subject contains "xserve" nagios/osx/
nagios - win32 Subject contains "win32" nagios/win32/
nagios - surf Subject contains "surf" nagios/linux/
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
bugmail - mine Header named "x-bugzilla-assigned-to" is "aki@mozilla.com" bugs/
bugmail - reporter Header named "x-bugzilla-reason" contains "Reporter" bugs/
bugzilla - cc Header named "x-bugzilla-reason" is "CC" bugs/
bugzilla - release Header named "x-bugzilla-reason" is "None"
Header named "x-bugzilla-assigned-to" is "release@mozilla-org.bugs"
bugs/unassigned

build@m.o