This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
how_to:whitelist_blacklist [2013/01/11 08:45] – [Spamfilter Whitelist & Blacklist] paul | how_to:whitelist_blacklist [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Spamfilter Whitelist & Blacklist====== | ======Spamfilter Whitelist & Blacklist====== | ||
- | The VPOP3 spamfilter has a whitelist and a blacklist. | + | The VPOP3 spamfilter has a whitelist and a blacklist |
+ | |||
+ | You can view these lists in the VPOP3 settings by going to **Settings -> Spamfilter -> White/Black Lists** | ||
By default, whenever you send a message, the recipient' | By default, whenever you send a message, the recipient' | ||
Line 9: | Line 11: | ||
If you wish, you could adjust the rule weights so that one has precedence over the other, eg set the whitelist weight to ' | If you wish, you could adjust the rule weights so that one has precedence over the other, eg set the whitelist weight to ' | ||
- | |||
=====Blacklist===== | =====Blacklist===== | ||
Line 16: | Line 17: | ||
Because of this it is often not worthwhile putting addresses onto the Blacklist manually either. The only case that is generally useful is if you have signed up to a mailing list, and they are refusing to remove you from the list, but this is quite rare. | Because of this it is often not worthwhile putting addresses onto the Blacklist manually either. The only case that is generally useful is if you have signed up to a mailing list, and they are refusing to remove you from the list, but this is quite rare. | ||
- | =====Local Addresses===== | + | ====Fields which the Blacklist checks==== |
+ | The Blacklist currently checks the addresses in the **Return-Path**, | ||
+ | |||
+ | The Blacklist will not be checked if the header contains three or more ' | ||
+ | =====Whitelist===== | ||
+ | ====Local Addresses==== | ||
If you put an address on the whitelist which is also in a 'local domain', | If you put an address on the whitelist which is also in a 'local domain', | ||
+ | |||
+ | If you look in the messages headers of a filtered message, then VPOP3 will add a header line like: | ||
+ | |||
+ | X-VPOP3-WL: Skip Local (email.address) | ||
+ | | ||
+ | if this is happening | ||
If you want to tell VPOP3 to check the whitelist for incoming mail from local domain email addresses as well, then go to **Settings -> Spamfilter -> General**, go to the **Script Configuration** tab, and set **CheckLocalWhitelist** to **1**. | If you want to tell VPOP3 to check the whitelist for incoming mail from local domain email addresses as well, then go to **Settings -> Spamfilter -> General**, go to the **Script Configuration** tab, and set **CheckLocalWhitelist** to **1**. | ||
Note that in many cases, [[allowing_mail_relay_through_vpop3|external users can actually send mail through VPOP3]] as if they were local users, so their mail won't be spam filtered at all. | Note that in many cases, [[allowing_mail_relay_through_vpop3|external users can actually send mail through VPOP3]] as if they were local users, so their mail won't be spam filtered at all. | ||
+ | |||
+ | ====Fields which the Whitelist checks==== | ||
+ | The Whitelist currently checks the addresses in the **Return-Path**, | ||
+ | |||
+ | The Whitelist will not be checked if the header contains three or more ' | ||
+ | |||
+ | The ' | ||
+ | |||
+ | ====Whitelist result info==== | ||
+ | The spam filter adds a header to the message called ' | ||
+ | |||
+ | =====Whitelist Words and Blacklist Words===== | ||
+ | VPOP3 has a section where you can add data to a whitelist or blacklist of ' | ||
+ | |||
+ | In fact the ' | ||
+ | |||
+ | Note that we would not recommend using **blacklist words** as a general way of adding to the spam filter, as it is relatively inflexible and slow (instead, you may want to look at [[write_your_own_spam_filter_rules|writing your own rules]], but the **whitelist words** can be a good, simple way to whitelist emails which contain your own product names, for instance. | ||
+ | |||
+ | ====Data Formats==== | ||
+ | By default, VPOP3 will try to find the ' | ||
+ | |||
+ | You can also use [[wp> | ||
+ | |||
+ | So, for instance, a regular expression of ''/ | ||
+ | |||
+ | ===Character Sets=== | ||
+ | VPOP3 currently does not do any [[wp> | ||
+ | |||
+ | This may mean you need to use several whitelist/ | ||
+ | |||
+ | For instance, to match naïve, the ï character is character 239(EF in hex) in ISO-8859-1, ISO-8859-3 and Unicode. Even though the character number is the same, the UTF-8 encoding means that the Unicode version will usually be transmitted as hex C3 AF, rather than as hex EF. | ||
+ | |||
+ | So, a regular expression to match this would be ''/ | ||
+ | |||
+ | In a future version of VPOP3 we may normalise all character sets to UTF-8 encoding which will not affect ASCII characters, but will make it easier to cover all the options for non-ASCII characters. |