projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More readable code.
[apps/pfixtools.git]
/
postlicyd
/
data
/
test.conf
diff --git
a/postlicyd/data/test.conf
b/postlicyd/data/test.conf
index
9825ce1
..
8f4c9a0
100644
(file)
--- a/
postlicyd/data/test.conf
+++ b/
postlicyd/data/test.conf
@@
-3,7
+3,7
@@
match1 {
match_all = false;
condition = stress #=;
match_all = false;
condition = stress #=;
- cond
tion
= stress != yes;
+ cond
ition
= stress != yes;
on_match = postfix:OK;
on_fail = postfix:OK;
}
on_match = postfix:OK;
on_fail = postfix:OK;
}
@@
-55,6
+55,17
@@
hostnames2 {
on_fail = postfix:OK;
}
on_fail = postfix:OK;
}
+hostnames3 {
+ type = strlist;
+
+ fields = client_name;
+ file = nolock:partial-suffix:1:data/test_hostnames_4;
+
+ on_hard_match = postfix:OK;
+ on_fail = postfix:OK;
+}
+
+
emails1 {
type = strlist;
emails1 {
type = strlist;
@@
-87,6
+98,16
@@
emails2 {
on_fail = postfix:ok;
}
on_fail = postfix:ok;
}
+emails3 {
+ type = strlist;
+
+ fields = sender;
+ file = nolock:partial-prefix:1:data/test_emails_4;
+
+ on_hard_match = postfix:ok;
+ on_fail = postfix:ok;
+}
+
ips1 {
type = iplist;
ips1 {
type = iplist;
@@
-100,4
+121,18
@@
ips1 {
on_soft_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;
recipient_filter = match1;