make multimap Whitelist work (#2822)

This commit is contained in:
lfirewall1243 2022-02-08 18:37:02 +01:00 committed by GitHub
parent 12e7dd89b1
commit a4ba4d9bc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View file

@ -1,5 +1,5 @@
PLUGIN_NAME= rspamd
PLUGIN_VERSION= 1.11
PLUGIN_VERSION= 1.12
PLUGIN_COMMENT= Protect your network from spam
PLUGIN_DEPENDS= rspamd
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com

View file

@ -5,6 +5,11 @@ lua.
Plugin Changelog
----------------
1.12
* Adjusting the multimap setting to make the multimap whitelist work
1.11
* Fix Milter Protocol by binding to Unix Sockets

View file

@ -8,13 +8,13 @@ extension_blacklist {
filter = "extension";
map = "/${LOCAL_CONFDIR}/local.d/bad_file_extensions.map";
symbol = "FILENAME_BLACKLISTED";
action = "reject";
score 1000;
}
WHITELIST_SENDER_DOMAIN {
type = "from";
filter = "email:domain";
map = "/${LOCAL_CONFDIR}/local.d/whitelist_sender_domains.map";
score = -50.0
score = -1000
}
{% endif %}