X-Git-Url: http://git.madism.org/?p=apps%2Fpfixtools.git;a=blobdiff_plain;f=example%2Fpostlicyd.conf;h=a8ef0e0e3c891633b8991544c29541355d12fd5e;hp=8ba7a9199e69d7304e972395b55f6b3cae107f91;hb=d0eb62ddac601110ebbcc73bb17c8b90407c9874;hpb=6154a392a1f0d96d4599a45f1c37d84dbe5bfa4d diff --git a/example/postlicyd.conf b/example/postlicyd.conf index 8ba7a91..a8ef0e0 100644 --- a/example/postlicyd.conf +++ b/example/postlicyd.conf @@ -58,15 +58,15 @@ # declare a file to load. If lock is given, the blacklist is locked into the # RAM. The weight is a number giving the weight of this blaclist file in the # score of the IP -# - soft_threshold: score (default: 0) +# - soft_threshold: score (default: 1) # minimum score to match the soft_match return value -# - hard_threshold: score (default: 0) +# - hard_threshold: score (default: 1) # minimum score to match the hard_match return value # Return value: # The score of a query is the sum of the weight of the blacklist it matched. # - If the IP can not be parsed, returns error -# - If the score is strictly greater than hard_threshold, returns hard_match -# - If the score is strictly greater than soft_threshold, returns soft_match +# - If the score is strictly greater >= than hard_threshold, returns hard_match +# - If the score is strictly greater >= than soft_threshold, returns soft_match # - Else, returns fail # # - greylist: greylister @@ -121,8 +121,8 @@ spamhaus_and_abuseat { # configuration file = lock:10:/var/spool/postlicyd/rbl.spamhaus.org; file = lock:1:/var/spool/postlicyd/cbl.abuseat.org; - soft_threshold = 0; - hard_threshold = 10; + soft_threshold = 1; + hard_threshold = 9; # hooks on_soft_match = greylist;