| 1 | = How do I filter out email in languages I don't speak? = |
| 2 | |
| 3 | Sometimes our email address ends up on spam lists used for sending spam in languages we don't speak. Since it is rare to get a legitimate message in a language you don't speak, filtering out these messages can save you from getting a lot of unwanted email in your inbox. |
| 4 | |
| 5 | NOTE: Only filter out messages in languages you don't want. Please do not do the reverse: filter out messages in languages that are not english. Not all messages will be properly tagged with a language, so if you filter out messages not tagged as english, you will miss email messages that were not processed by our spam filter (e.g. messages sent to you by other MF/PL members or messages over the size limit for spam scanning). |
| 6 | |
| 7 | If you are not familiar with how to filter your messages, please review our [wiki:sieve help file on filtering] which gives you the basics of how to create filters in our Roundcube mail program. Remember: Filters created in Roundcube apply even if you use a different program. |
| 8 | |
| 9 | To create a filter specifically for language, follow these steps. |
| 10 | |
| 11 | * Login to https://roundcube.mayfirst.org/ |
| 12 | * Click the Settings Link in the top right corner of the screen |
| 13 | * Click the Filters link from the menu |
| 14 | * Click the plus (+) sign in the bottom left corner of the filters box to create a new filter |
| 15 | All of the above steps are outlined on our [wiki:sieve filter help page] with screen shots. |
| 16 | * Create the initial rules for your language filter |
| 17 | * Give your filter a descriptive name |
| 18 | * Indicate that any of the rules must match for the filter to take affect |
| 19 | * The first drop down shows you the available headers you can match on. Since "X-Spam-Language" is not one of them, select "..." instead and then type in: X-Spam-Language (make sure there are no typos!) |
| 20 | * Indicate that you want to move the message to your Junk folder if this header contains the word "fr" |
| 21 | * Click the Plus button to add more rules. Add a rule for everyone language that you want filtered. |
| 22 | * In the example below, we filter for french, russion and chinese. |
| 23 | [[Image(filter-by-language:filter-messages-by-lang-final.png)]] |
| 24 | |
| 25 | Once you are done, all messages that match will automatically be put in your Junk/Spam folder if they match one of your chosen languages, even if our spam detector fails to detect them as spam. |