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
Remove old code
6cd44b41
data/conf/rspamd/lua/rspamd.local.lua | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
Diff
diff --git a/data/conf/rspamd/lua/rspamd.local.lua b/data/conf/rspamd/lua/rspamd.local.lua
index db8a08d5..75f52892 100644
--- a/data/conf/rspamd/lua/rspamd.local.lua
+++ b/data/conf/rspamd/lua/rspamd.local.lua
@@ -7,9 +7,6 @@ rspamd_config.MAILCOW_AUTH = {
end
}
-local redis_params
-redis_params = rspamd_parse_redis_server('tag_settings')
-if redis_params then
rspamd_config:register_symbol({
name = 'TAG_MOO',
type = 'postfilter',
@@ -20,11 +17,6 @@ rspamd_config:register_symbol({
local tagged_rcpt = task:get_symbol("TAGGED_RCPT")
local mailcow_domain = task:get_symbol("RCPT_MAILCOW_DOMAIN")
- local user = task:get_recipients(0)[1]['user']
- local domain = task:get_recipients(0)[1]['domain']
- local rcpt = user .. '@' .. domain
-
-
if tagged_rcpt and mailcow_domain then
local tag = tagged_rcpt[1].options[1]
rspamd_logger.infox("found tag: %s", tag)
@@ -57,5 +49,5 @@ rspamd_config:register_symbol({
end,
priority = 11
})
-end
+