Add multimap and forced actions for forwarded_hosts, removed from settings
This commit is contained in:
@@ -9,4 +9,14 @@ rules {
|
||||
expression = "CLAM_VIRUS & !MAILCOW_WHITE";
|
||||
honor_action = ["reject"];
|
||||
}
|
||||
WHITELIST_FORWARDING_HOST_NO_REJECT {
|
||||
action = "add header";
|
||||
expression = "WHITELIST_FORWARDING_HOST";
|
||||
require_action = ["soft reject", "reject"];
|
||||
}
|
||||
WHITELIST_FORWARDING_HOST_NO_GREYLIST {
|
||||
action = "no action";
|
||||
expression = "WHITELIST_FORWARDING_HOST";
|
||||
require_action = ["greylist"];
|
||||
}
|
||||
}
|
||||
|
@@ -9,3 +9,14 @@ RCPT_WANTS_SUBJECT_TAG {
|
||||
filter = "email:addr"
|
||||
map = "redis://RCPT_WANTS_SUBJECT_TAG"
|
||||
}
|
||||
|
||||
WHITELISTED_FWD_HOST {
|
||||
type = "ip";
|
||||
map = "redis://WHITELISTED_FWD_HOST"
|
||||
}
|
||||
|
||||
KEEP_SPAM {
|
||||
type = "ip";
|
||||
map = "redis://KEEP_SPAM"
|
||||
action = "accept";
|
||||
}
|
||||
|
Reference in New Issue
Block a user