You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# (always combine authentication tests (dkim/spf) with sender whitelisting).
5
+
3
6
ISPC_WHITELIST_SENDER {
4
7
expression = "(ISPC_WHITELIST_ENVFROM and (R_DKIM_ALLOW or R_SPF_ALLOW)) or (ISPC_WHITELIST_FROM and R_DKIM_ALLOW) and !CLAM_VIRUS and !JUST_EICAR";
5
8
action = "no action";
6
9
}
7
10
8
11
ISPC_BLACKLIST_SENDER {
9
-
expression = "(ISPC_BLACKLIST_FROM or ISPC_BLACKLIST_FROM_DOMAIN) and R_DKIM_ALLOW and !ISPC_WHITELIST_SENDER and !ISPC_WHITELIST_SENDER_DOMAIN and !ISPC_WHITELIST_RECIPIENT";
12
+
expression = "(ISPC_BLACKLIST_FROM or ISPC_BLACKLIST_FROM_DOMAIN or ISPC_BLACKLIST_REPLYTO or ISPC_BLACKLIST_REPLYTO_DOMAIN) and !ISPC_WHITELIST_SENDER and !ISPC_WHITELIST_SENDER_DOMAIN and !ISPC_WHITELIST_RECIPIENT";
10
13
action = "reject";
11
14
}
12
15
@@ -15,6 +18,8 @@ rules {
15
18
action = "no action";
16
19
}
17
20
21
+
# test multiple recipients, does forced action only apply to the whitelisted recipient or all?
22
+
# if all, combine this with RCPT_COUNT_ONE
18
23
ISPC_WHITELIST_RECIPIENT {
19
24
expression = "ISPC_WHITELIST_ENVRCPT and !CLAM_VIRUS and !JUST_EICAR";
0 commit comments