X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=example%2Fpostlicyd.conf;h=12d8ff5683a4dd2ba2880ab560c3c194ab66aa9a;hb=a66e19cd437595328f202cbde8d492d5f7e2205a;hp=ca17b601f145d1ac919154a86bb2f98407a153cd;hpb=3df18edc2580a1cc3e95d427337e5afef042a83d;p=apps%2Fpfixtools.git diff --git a/example/postlicyd.conf b/example/postlicyd.conf index ca17b60..12d8ff5 100644 --- a/example/postlicyd.conf +++ b/example/postlicyd.conf @@ -70,6 +70,8 @@ # 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. # - soft_threshold: score (default: 1) # minimum score to match the soft_match return value # - hard_threshold: score (default: 1) @@ -117,6 +119,12 @@ spamhaus_and_abuseat { # * a file that contains "postmaster@" in "partial-prefix" mode will match all # postmaster emails. # * a file open without "partial-" modifier match exact strings. +# - rbldns: (no)?lock:weight:filename +# declare a rbldns zone file to load. This is exactly the same as file excepted that it wraps +# parsing of hostname to split them into 2 categories: +# * 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. # - soft_threshold: score (default: 1) # minimum score to match the soft_match return value # - hard_threshold: score (default: 1) @@ -126,7 +134,8 @@ spamhaus_and_abuseat { # currently only email OR hostname fields are supported. You MUST choose only # one of these types per strlist, and be carefull that the field you requested # are available in the protocol state you want to use this filter for. -# * hostname fields: helo_name, client_name, reverse_client_name +# * hostname fields: helo_name, client_name, reverse_client_name, sender_domain, +# recipient_domain # * email fields: sender, recipient # No space is allowed in this parameter. # Return value: @@ -148,7 +157,8 @@ client_whitelist { # configuration file = lock:1:suffix:/var/spool/postlicyd/client_whitelist; - fields = client_name; + rbldns = lock:1:/va/spool/postlicyd/abuse.rfc-ignorant.org; + fields = client_name,sender_domain,helo_name; # hooks on_hard_match = postfix:OK; @@ -207,6 +217,7 @@ greylist { # emitted by postfix. This list with description of each # field is available at: # http://www.postfix.org/SMTPD_POLICY_README.html +# postlicyd also support fields sender_domain and recipient_domain # * OP is an operator. Available operators are: # == field_name is strictly equal to value # =i field_name is case insensitively equal to value