Differences
This shows you the differences between two versions of the page.
greylisting [2012-06-11 08:47] – created randerson | greylisting [2013-12-06 12:05] (current) – Fix formatting rspencer | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Greylisting===== | + | ====== Greylisting ====== |
Greylisting can be added to a policy and the below options added. Most options can be inherited or explicitly set. | Greylisting can be added to a policy and the below options added. Most options can be inherited or explicitly set. | ||
- | ====Greylisting Configuration==== | + | ===== Greylisting Configuration |
* Use Greylisting | * Use Greylisting | ||
Line 44: | Line 45: | ||
* This combined with "ABL After Count" will change its behavior slightly. After " | * This combined with "ABL After Count" will change its behavior slightly. After " | ||
- | ====Server Configuration==== | + | ===== Server Configuration ===== |
Configuration for this module is done in the Greylisting section in the configuration file. | Configuration for this module is done in the Greylisting section in the configuration file. | ||
Line 62: | Line 64: | ||
* Define blacklist message. Defaults to " | * Define blacklist message. Defaults to " | ||
- | ====Whitelisting==== | + | ==== Whitelisting ==== |
Whitelisting of source IPv4 addresses in the format a.b.c.d[/ | Whitelisting of source IPv4 addresses in the format a.b.c.d[/ | ||
(Supported in: r493+, v2.1.x) Whitelisting of source IPv6 addresses. For a list of supported formats please see IP Address Specification. | (Supported in: r493+, v2.1.x) Whitelisting of source IPv6 addresses. For a list of supported formats please see IP Address Specification. | ||
- | **IMPORTANT NOTE** | + | ==== Important Note ==== |
Its highly recommended to use the whitelisted hosts file in the database/ | Its highly recommended to use the whitelisted hosts file in the database/ | ||
- | < | + | |
+ | < | ||
+ | ./ | ||
+ | </ | ||
Then load greylisting-whitelist.sql into your database. | Then load greylisting-whitelist.sql into your database. | ||
- | __Complete Example__ | + | ==== Complete Example ==== |
Taking the policies described in the other feature document, we can apply a reasonable greylisting rule to all inbound email | Taking the policies described in the other feature document, we can apply a reasonable greylisting rule to all inbound email | ||
Greylist Inbound Email | Greylist Inbound Email | ||
- | < | + | |
+ | < | ||
+ | Policy: Default Inbound Policy | ||
Use Greylisting: | Use Greylisting: | ||
Greylist Period: 240 (4 minutes) | Greylist Period: 240 (4 minutes) | ||
Line 89: | Line 100: | ||
ABL Period: 604800 (7 days) | ABL Period: 604800 (7 days) | ||
ABL After Count: 100 | ABL After Count: 100 | ||
- | ABL After Percentage: 20</ | + | ABL After Percentage: 20 |
+ | </ | ||
Disable Greylisting on authenticated inbound policy | Disable Greylisting on authenticated inbound policy | ||
- | < | + | |
+ | < | ||
+ | Policy: Default Inbound Policy (SASL) | ||
Use Greylisting: | Use Greylisting: | ||
Greylist Period: | Greylist Period: | ||
Line 105: | Line 119: | ||
ABL Period: | ABL Period: | ||
ABL After Count: 0 | ABL After Count: 0 | ||
- | ABL After Percentage: 0</ | + | ABL After Percentage: 0 |
+ | </ |