From fc34c421f18b6bd6a28b3740ae85efdbbd0460ea Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Wed, 24 Sep 2008 21:42:47 +0200 Subject: [PATCH] Add the new filter type in configuration example. Signed-off-by: Florent Bruneau --- example/postlicyd.conf | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) 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, -- 2.20.1