You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
IS_LOCAL_DOMAIN_H {
|
|
|
|
type = "selector"
|
|
|
|
selector = "from('mime'):domain";
|
|
|
|
map = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains";
|
|
|
|
}
|
|
|
|
|
|
|
|
IS_LOCAL_DOMAIN_E {
|
|
|
|
type = "selector"
|
|
|
|
selector = "from('smtp'):domain";
|
|
|
|
map = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains";
|
|
|
|
}
|
|
|
|
|
|
|
|
FORBIDDEN_FILE_EXTENSION {
|
|
|
|
type = "filename";
|
|
|
|
filter = "extension";
|
|
|
|
map = [
|
|
|
|
"/etc/rspamd/local.d/forbidden_file_extension.map",
|
|
|
|
];
|
|
|
|
prefilter = true;
|
|
|
|
action = "reject";
|
|
|
|
symbol = "FORBIDDEN_FILE_EXTENSION";
|
|
|
|
description = "List of forbidden file extensions";
|
|
|
|
message = "Forbidden attachment extension";
|
|
|
|
}
|