Differences

This shows you the differences between two versions of the page.

Link to this comparison view

greylisting [2012-06-11 08:47]
randerson created
greylisting [2013-12-06 12:05] (current)
rspencer Fix formatting
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 "​Count"​ number of triplets, check and if percentage of unauthenticated vs. total triplets is higher than "​Percentage"​ then auto-blacklist. A value of 90 means if 90% of triplets or more are unauthenticated then blacklist.     * This combined with "ABL After Count" will change its behavior slightly. After "​Count"​ number of triplets, check and if percentage of unauthenticated vs. total triplets is higher than "​Percentage"​ then auto-blacklist. A value of 90 means if 90% of triplets or more are unauthenticated then blacklist.
  
-====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 "​Greylisting in effect, sending server blacklisted"​.     * Define blacklist message. Defaults to "​Greylisting in effect, sending server blacklisted"​.
  
-====Whitelisting====+==== Whitelisting ==== 
 Whitelisting of source IPv4 addresses in the format a.b.c.d[/​x]. Bitmask is optional and defaults to 32. Whitelisting of source IPv4 addresses in the format a.b.c.d[/​x]. Bitmask is optional and defaults to 32.
  
 (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/​whitelists/​ directory by running: Its highly recommended to use the whitelisted hosts file in the database/​whitelists/​ directory by running:
-<​code>​./​parse-greylisting-whitelist > greylisting-whitelist.sql</​code>​+ 
 +<​code>​ 
 +./​parse-greylisting-whitelist > greylisting-whitelist.sql 
 +</​code>​ 
 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
-<​code>​Policy:​ Default Inbound Policy+ 
 +<​code>​ 
 +Policy: Default Inbound Policy
 Use Greylisting:​ No Use Greylisting:​ No
 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</​code>​+ABL After Percentage: 20 
 +</​code>​
  
 Disable Greylisting on authenticated inbound policy Disable Greylisting on authenticated inbound policy
-<​code>​Policy:​ Default Inbound Policy (SASL)+ 
 +<​code>​ 
 +Policy: Default Inbound Policy (SASL)
 Use Greylisting:​ No Use Greylisting:​ No
 Greylist Period: Greylist Period:
Line 105: Line 119:
 ABL Period: ABL Period:
 ABL After Count: 0 ABL After Count: 0
-ABL After Percentage: 0</​code>​+ABL After Percentage: 0 
 +</​code>​