aboutsummaryrefslogtreecommitdiffstats
path: root/rules/misc.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-04 10:20:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-04 10:20:17 +0100
commit6d6489052ca49bead0502bb9fdaaaf50712d7701 (patch)
treeabdc5b0f5c64f55af3573f81f6fc936a58bcf66a /rules/misc.lua
parent2197686e13fcdd3b6d330961033a0b6c04943176 (diff)
downloadrspamd-6d6489052ca49bead0502bb9fdaaaf50712d7701.tar.gz
rspamd-6d6489052ca49bead0502bb9fdaaaf50712d7701.zip
[Minor] Set alias flag
Diffstat (limited to 'rules/misc.lua')
-rw-r--r--rules/misc.lua2
1 files changed, 1 insertions, 1 deletions
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