| 2 | |
| 3 | May First/People Link regularly checks to see if our servers are sending email messages into the spam/junk boxes of corporate providers. These scripts are installed and configured on `gil.mayfirst.org`. |
| 4 | |
| 5 | There are three parts to the check: |
| 6 | |
| 7 | * `mf-monitor-filtercheck` - This script runs on a cron job and updates the nagios server is the status changes. When run on the terminal it will take 15 minutes to complete (to leave enough time for all messages to be delivered) and will output either OK: or CRITICAL: depending on whether all messages laned in the inbox or not. |
| 8 | * `mf-filtercheck` - This script is the one executed by `mf-monitor-filtercheck` - by default it provides verbose output so you can see which corporate providers are filtering our email. You can pass the environment variable `MF_SLEEP=60` if you want the script to sleep for only 60 seconds instead of the full 15 minutes. |
| 9 | * `filter-check` - This is the generic script that powers mf-filercheck. See more below... |
| 10 | |
| 11 | == filter-check == |