]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix symbol name for spf soft fail
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 8 Jun 2016 14:31:12 +0000 (15:31 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 8 Jun 2016 14:31:12 +0000 (15:31 +0100)
rules/http_headers.lua

index f8d7f2be6b448eda9d597a95cee596d1a676c8db..0252ccce97b1ae6bb86c93585970c4158f762be6 100644 (file)
@@ -69,7 +69,7 @@ rspamd_config:add_condition("R_SPF_ALLOW", function(task)
       elseif obj['result'] == 'neutral' then
         task:insert_result('R_SPF_NEUTRAL', 1.0, 'http header')
       elseif obj['result'] == 'tempfail' or obj['result'] == 'softfail' then
-        task:insert_result('R_SPF_TEMPFAIL', 1.0, 'http header')
+        task:insert_result('R_SPF_SOFTFAIL', 1.0, 'http header')
       end
 
       return false