commit cd151c8: [Minor] Properly use task:set_recipients
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Mar 8 20:28:07 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-03-08 20:19:44 +0000
URL: https://github.com/rspamd/rspamd/commit/cd151c848a875bc4596f881212d22baa767e44a4 (HEAD -> master)
[Minor] Properly use task:set_recipients
---
rules/misc.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/misc.lua b/rules/misc.lua
index 8b73f522f..376e6990f 100644
--- a/rules/misc.lua
+++ b/rules/misc.lua
@@ -503,7 +503,7 @@ local aliases_id = rspamd_config:register_symbol{
end
if modified then
- task:set_recipients(type, addrs)
+ task:set_recipients(type, addrs, 'alias')
task:insert_result('TAGGED_RCPT', 1.0, all_tags)
end
end
More information about the Commits
mailing list