X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=example%2Fpostlicyd.conf;h=e41ac813050a5f46bfa4af6cb562007a737c2a37;hb=fc34c421f18b6bd6a28b3740ae85efdbbd0460ea;hp=1c2c6bad7a9b0c99906e1be5bee6916749f1a5ee;hpb=96cc004ee0a3dd1f32cf8386f1c10577d423eec9;p=apps%2Fpfixtools.git diff --git a/example/postlicyd.conf b/example/postlicyd.conf index 1c2c6ba..e41ac81 100644 --- a/example/postlicyd.conf +++ b/example/postlicyd.conf @@ -185,6 +185,47 @@ greylist { } +# - match: direct matching against the query fields +# Parameters: +# - match_all: boolean +# if true, the filter won't match until all conditions +# are verified. If false, the filter match on the first +# verified condition. +# - condition: field_name OP (value) +# * the field_name is one of the field name of the query +# emitted by postfix. This list with description of each +# field is available at: +# http://www.postfix.org/SMTPD_POLICY_README.html +# * OP is an operator. Available operators are: +# == field_name is strictly equal to value +# =i field_name is case insensitively equal to value +# != field_name is not equal to value +# !i field_name is not case insensitively equal to value +# >= field_name contains value +# >i field_name contains case insensitively value +# <= field_name is contained by value +# = debian.org; + condition = recipient #=; + + # hook + on_match = postfix:OK; + on_fail = greylist; +} + + # ENTRY POINTS # # Access policy daemon can be used at several protocol states. For each of this states,