X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=example%2Fpostlicyd.conf;h=6f3d07fbc9a1656f8154d020caf1ceffca9326e7;hb=a07ba1c6e9bc996a8a5f5bd641870259d7f35b99;hp=572fd9ad8ec850deb3b0169c706d77b6c7d59f38;hpb=56b6af05533aa502bfa806116f553d7f5113dcdb;p=apps%2Fpfixtools.git diff --git a/example/postlicyd.conf b/example/postlicyd.conf index 572fd9a..6f3d07f 100644 --- a/example/postlicyd.conf +++ b/example/postlicyd.conf @@ -57,10 +57,13 @@ # configuration associates an action to run to a return value name. # # The action can be either a postfix access(5) value or a filter name. Postfix access -# parameters must be prefixed by 'postfix:'. +# parameters must be prefixed by 'postfix:'. The text argument given to a postfix reply +# may contain format strings to be replaced by the parameters of the query. This arguments +# have the following format: ${fieldname} # # eg: # on_match = postfix:REJECT Blacklisted; +# on_fail = postfix:450 Greylisted, see http://www.example.org/${sender_domain}.html # # Filter: # Current defined filter types are: @@ -70,6 +73,11 @@ # declare a file to load. If lock is given, the klist is locked into the # RAM. The weight is a number giving the weight of this blaclist file in the # score of the IP +# - rbldns: (no)?lock:weight:filename +# this is an alias for file. +# - dns: weight:hostname +# use a rbl via DNS resolution with the given weight. If a DNS lookup error occurs +# the IP is considered as beeing "not found". # - soft_threshold: score (default: 1) # minimum score to match the soft_match return value # - hard_threshold: score (default: 1) @@ -77,6 +85,7 @@ # 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 no rbl was available (no file and all dns down), 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 # - Else, returns fail @@ -123,6 +132,10 @@ spamhaus_and_abuseat { # * names beginning with '*' are sorted as 'domains' and are matched as suffix # * names starting with an alphanumirical character are sorted as 'hostnames' and are # process via exact matching. +# - dns: weight:hostname +# use a rhbl via DNS resolution with the given weight. If a DNS lookup error occurs +# the hostname is considered as beeing "not found". This can only be used with "hostnames" +# typed fields. # - soft_threshold: score (default: 1) # minimum score to match the soft_match return value # - hard_threshold: score (default: 1) @@ -138,6 +151,7 @@ spamhaus_and_abuseat { # No space is allowed in this parameter. # Return value: # The score of a query is the sum of the weight of the list it matched. +# - If no rhbl was available (no file and all dns down), 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 # - Else, returns fail