]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Properly use task:set_recipients
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 8 Mar 2021 20:19:44 +0000 (20:19 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 8 Mar 2021 20:19:44 +0000 (20:19 +0000)
rules/misc.lua

index 8b73f522fe4742565db9cf8846ed57ccb65afee8..376e6990f861478ad62584d1ce99e10e1a49ec35 100644 (file)
@@ -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