diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-17 13:38:07 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-17 13:38:07 +0000 |
commit | 04e354d919c8802d94de60cc2c8d9ad7c192df6d (patch) | |
tree | df00be58d606dae0c598ebbfc554edf2dcaf2e83 /src/lua/lua_spf.c | |
parent | 8b1a81a7753ef9751fe464920f39828002b93ab3 (diff) | |
download | rspamd-04e354d919c8802d94de60cc2c8d9ad7c192df6d.tar.gz rspamd-04e354d919c8802d94de60cc2c8d9ad7c192df6d.zip |
[Minor] Revert back options for temp/permfail in SPF
Diffstat (limited to 'src/lua/lua_spf.c')
-rw-r--r-- | src/lua/lua_spf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_spf.c b/src/lua/lua_spf.c index e3c0686b7..743d523e5 100644 --- a/src/lua/lua_spf.c +++ b/src/lua/lua_spf.c @@ -360,12 +360,12 @@ spf_check_element (lua_State *L, struct spf_resolved *rec, struct spf_addr *addr if (rec->flags & RSPAMD_SPF_RESOLVED_PERM_FAILED) { lua_pushboolean (L, false); lua_pushinteger (L, RSPAMD_SPF_RESOLVED_PERM_FAILED); - lua_pushstring (L, "any perm fail"); + lua_pushfstring (L, "%cany", spf_mech_char (addr->mech)); } else if (rec->flags & RSPAMD_SPF_RESOLVED_TEMP_FAILED) { lua_pushboolean (L, false); lua_pushinteger (L, RSPAMD_SPF_RESOLVED_TEMP_FAILED); - lua_pushfstring (L, "any temp fail"); + lua_pushfstring (L, "%cany", spf_mech_char (addr->mech)); } else { lua_pushboolean (L, true); |