| 1 | = Filter check = |
| 2 | |
| 3 | The `filter-check` program sends email via our servers to various corporate providers and checks to see if they land in the inbox or the spam box. |
| 4 | |
| 5 | Current providers checked: Gmail, Yahoo and outlook.com. |
| 6 | |
| 7 | Basic usage: |
| 8 | |
| 9 | {{{ |
| 10 | 0 gil:~# filter-check --help |
| 11 | usage: filter-check [-h] [--sendvia SENDVIA] [--sendto SENDTO] [--quiet] |
| 12 | [--gtube] [--headers] [--sleep SLEEP] |
| 13 | [--emailfrom EMAILFROM] [--subject SUBJECT] [--msg MSG] |
| 14 | |
| 15 | Check deliverability to various mail providers. Configuration file is in |
| 16 | ~/.filter-check.conf |
| 17 | |
| 18 | optional arguments: |
| 19 | -h, --help show this help message and exit |
| 20 | --sendvia SENDVIA the host to relay the email |
| 21 | --sendto SENDTO the host to send the email |
| 22 | --quiet surpress all output, use exit codes only |
| 23 | --gtube use spamassassin code to identify the message as spam |
| 24 | (for debugging) |
| 25 | --headers output full headers, instead of brief headers |
| 26 | --sleep SLEEP number of seconds to wait between sending and checking |
| 27 | email |
| 28 | --emailfrom EMAILFROM |
| 29 | send the test message from this email |
| 30 | --subject SUBJECT specify the subject for the test message |
| 31 | --msg MSG specify the body of the test message |
| 32 | |
| 33 | Exit codes: 0 if message is found in Inbox, 1 if found in spam box, 3 if not |
| 34 | delivered, 255 if error. |
| 35 | 0 gil:~# |
| 36 | }}} |
| 37 | |
| 38 | It is installed and configured on `gil.mayfirst.org`. |
| 39 | |
| 40 | In addition, there is: `mf-check-filters` - which runs through filter checks for both mail.mayfirst.org and bulk.mayfirst.org. |