From 6d6489052ca49bead0502bb9fdaaaf50712d7701 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 4 Apr 2019 10:20:01 +0100 Subject: [PATCH] [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 -- 2.39.5