projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Oops.
[apps/pfixtools.git]
/
example
/
postlicyd.conf
diff --git
a/example/postlicyd.conf
b/example/postlicyd.conf
index
12d8ff5
..
57c5966
100644
(file)
--- a/
example/postlicyd.conf
+++ b/
example/postlicyd.conf
@@
-72,6
+72,9
@@
# score of the IP
# - rbldns: (no)?lock:weight:filename
# this is an alias for file.
# 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)
# - soft_threshold: score (default: 1)
# minimum score to match the soft_match return value
# - hard_threshold: score (default: 1)
@@
-79,6
+82,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
# 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
# - 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
@@
-125,6
+129,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.
# * 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)
# - soft_threshold: score (default: 1)
# minimum score to match the soft_match return value
# - hard_threshold: score (default: 1)
@@
-140,6
+148,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.
# 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
# - 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