commit 6d64890: [Minor] Set alias flag
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Apr 4 09:21:04 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-04-04 10:20:01 +0100
URL: https://github.com/rspamd/rspamd/commit/6d6489052ca49bead0502bb9fdaaaf50712d7701 (HEAD -> master)
[Minor] Set alias flag
---
rules/misc.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/misc.lua b/rules/misc.lua
index 1cc7bfc22..6c0738976 100644
--- a/rules/misc.lua
+++ b/rules/misc.lua
@@ -457,7 +457,7 @@ local aliases_id = rspamd_config:register_symbol{
local addr = task:get_from(type)[1]
local na,tags = rspamd_lua_utils.remove_email_aliases(addr)
if na then
- task:set_from(type, addr)
+ task:set_from(type, addr, 'alias')
task:insert_result('TAGGED_FROM', 1.0, fun.totable(
fun.filter(function(t) return t and #t > 0 end, tags)))
end
More information about the Commits
mailing list