X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2Fdata%2Ftest.conf;h=6e0a7a024bc9975ce676eb15ee50b0f5aa5d018f;hb=87c3b6012886b05ab8ff36098e1e92e9afb1759c;hp=7c88a7537b3d7625121de0c30a5962b9f5cd9459;hpb=033f9c56012ade3ac28fa598901f7c61d24c13fa;p=apps%2Fpfixtools.git diff --git a/postlicyd/data/test.conf b/postlicyd/data/test.conf index 7c88a75..6e0a7a0 100644 --- a/postlicyd/data/test.conf +++ b/postlicyd/data/test.conf @@ -3,7 +3,7 @@ match1 { match_all = false; condition = stress #=; - condtion = stress != yes; + condition = stress != yes; on_match = postfix:OK; on_fail = postfix:OK; } @@ -87,4 +87,31 @@ emails2 { on_fail = postfix:ok; } +ips1 { + type = iplist; + + file = nolock:1:data/test_ip_1; + file = nolock:1:data/test_ip_2; + + soft_threshold = 1; + hard_threshold = 2; + + on_hard_match = postfix:OK; + on_soft_match = postfix:OK; +} + +greylist1 { + type = greylist; + + prefix = test1_; + path = data/; + delay = 1; + retry_window = 4; + client_awl = 2; + max_age = 8; + + on_greylist = postfix:OK; + on_whitelist = postfix:OK; +} + recipient_filter = match1;