public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Rspamd] Add filter to global mime black- and whitelists to only match addr
943730de
data/conf/rspamd/local.d/multimap.conf | 2 ++
1 file changed, 2 insertions(+)
Diff
diff --git a/data/conf/rspamd/local.d/multimap.conf b/data/conf/rspamd/local.d/multimap.conf
index aa4ef11a..0f8ba150 100644
--- a/data/conf/rspamd/local.d/multimap.conf
+++ b/data/conf/rspamd/local.d/multimap.conf
@@ -60,6 +60,7 @@ GLOBAL_SMTP_FROM_BL {
GLOBAL_MIME_FROM_WL {
type = "header";
header = "from";
+ filter = "email:addr";
map = "${LOCAL_CONFDIR}/custom/global_mime_from_whitelist.map";
regexp = true;
score = -2050;
@@ -68,6 +69,7 @@ GLOBAL_MIME_FROM_WL {
GLOBAL_MIME_FROM_BL {
type = "header";
header = "from";
+ filter = "email:addr";
map = "${LOCAL_CONFDIR}/custom/global_mime_from_blacklist.map";
regexp = true;
prefilter = true;